Skip to content

Commit

Permalink
Add Groups Module - Merge pull request #59 from JoryHogeveen/module-g…
Browse files Browse the repository at this point in the history
…roups

Module groups
  • Loading branch information
JoryHogeveen authored May 9, 2017
2 parents 2c5d010 + 0c9f024 commit b5e72dd
Show file tree
Hide file tree
Showing 2 changed files with 648 additions and 0 deletions.
7 changes: 7 additions & 0 deletions includes/class-vaa.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ private function load_modules() {
);
}

if ( is_callable( array( 'Groups_Group', 'get_groups' ) ) ) {
$includes['groups'] = array(
'file' => 'modules/class-groups.php',
'class' => 'VAA_View_Admin_As_Groups',
);
}

// Run include code but do not register modules yet (leave that to the modules).
$this->load_files( $includes );

Expand Down
Loading

0 comments on commit b5e72dd

Please sign in to comment.