/** * admin initialization callback function * * is bound to wpordpress action 'admin_init' on instantiation * * @since 3.2.0 * @return void */ function init() { //Add tiny mce style add_filter('tiny_mce_before_init', array($this, 'add_editor_style')); //Add in our media button add_action('media_buttons', array($this, 'media_buttons')); //We're going to make sure we run the parent's version of this function as well parent::init(); }
/** * admin initialization callback function * * is bound to wpordpress action 'admin_init' on instantiation * * @since 3.2.0 * @return void */ function init() { //We're going to make sure we run the parent's version of this function as well parent::init(); }
/** * admin initialization callback function * * is bound to wpordpress action 'admin_init' on instantiation * * @since 3.2.0 * @return void */ function init() { //We're going to make sure we run the parent's version of this function as well parent::init(); //We want to run late for using our breadcrumbs add_filter('tha_breadcrumb_navigation', array($this, 'tha_compat'), 99); }