* Also note that parameters will be in the context of the main admin controller constructor.
*/
+// Add hooksHelp.html file to admin Management hooks output
+add_filter('glm-member-db-admin-management-hooksHelp', function($content) {
+
+ // Read in this plugin/addon hook help file
+ $fname = GLM_MEMBERS_SEARCH_PLUGIN_PATH.'/setup/hooksHelp.html';
+ if (is_file($fname)) {
+ $hooksHelp = file_get_contents($fname);
+ if ($hooksHelp != false) {
+ $content .= $hooksHelp;
+ }
+ }
+ return $content;
+ },
+ 10,
+ 2
+);
+
// Add warnings to the main dashboard widget by calling model with current controller (admin)
add_filter( 'glm-member-db-dashboard-widget-warnings', function( $content ) {
$content .= $this->controller('dashboardWidget', 'search');