Esempio n. 1
0
 /**
  *
  * 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'));
 }
Esempio n. 3
0
 /**
  *
  * 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();
 }
Esempio n. 5
0
 /**
  *
  * 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'));
 }