/** * This function is called when on WP core dashboard and it adds widgets to the dashboard using * the meta box functions in this class. * * @uses dashboard_widgets() in parent class CSV2POST_View which loops through meta boxes and registeres widgets * * @author Ryan R. Bayne * @package CSV 2 POST * @since 0.0.2 * @version 1.1 */ public function dashboard() { parent::dashboard_widgets(self::meta_box_array()); }
/** * This function is called when on WP core dashboard and it adds widgets to the dashboard using * the meta box functions in this class. * * @uses dashboard_widgets() in parent class CSV2POST_View which loops through meta boxes and registeres widgets * * @author Ryan R. Bayne * @package CSV2POST * @since 8.1.33 * @version 1.0.1 */ public function dashboard() { // setup() is not called when viewing dashboard so we need to do some loading here $this->FORMS = CSV2POST::load_class('CSV2POST_FORMS', 'class-forms.php', 'classes'); parent::dashboard_widgets(self::meta_box_array()); }