/** * setup actions and hooks to register post types * * @since 1.0.0 * @access protected */ protected function actions() { // run parent actions ( keep 'admin_head' hook ) parent::actions(); // add settings page add_action('init', array($this, 'render')); }
/** * Set hooks on when to load the notices * * @since 1.0.0 * @access protected */ protected function actions() { parent::actions(); // init uix after loaded // queue helps add_action('admin_head', array($this, 'render')); }