/** * * Used to setup the plugin * * @param $file * @author Tim Perry * */ public function init($file) { parent::init($file); $this->shortcodeHelper->registerShortcodes(); $this->acfHelper->registerFieldGroups(); add_action('admin_init', array($this, "adminInit")); add_action('admin_menu', array($this, "adminMenu")); add_action('admin_notices', array($this, "adminNotices")); }
public function init($file) { parent::init($file); add_action('wp_footer', array($this, 'wpFooter')); }
/** * * Set up the hooker * * @param $file * @author Tim Perry * */ public function init($file) { parent::init($file); $this->hooker->hookUp(); }
/** * Add the init hook so we can init the plugin * * @param $file * @author Tim Perry * */ public function init($file) { parent::init($file); add_action('init', array($this, 'initHook')); $this->hooker->hookUp(); }
/** * * Fires off the various calls to helpers * * @author Tim Perry * */ public function init($file) { parent::init($file); $this->metaBoxHelper->init(); add_action('init', array($this, 'initHook')); }