Example #1
0
 /**
  * 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'));
 }
Example #2
0
 /**
  * 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'));
 }