/** * * Called after the theme is setup, allows us to setup hooks * post types, taxonomies etc * * @author Tim Perry * */ public function afterSetupTheme() { $this->imageSizesHelper->registerImageSizes(); $this->postTypeHelper->registerPostTypes(); $this->taxonomyHelper->registerTaxonomies(); $this->fieldsHelper->registerFieldGroups(); $this->hooker->hookUp(); $this->shortcodeHelper->registerShortcodes(); }
/** * * Set up the hooker * * @param $file * @author Tim Perry * */ public function init($file) { parent::init($file); $this->hooker->hookUp(); }
/** * * Callback for the init action hook * * @author Tim Perry * */ public function initHook() { $this->hooker->hookUp(); }