/** * @inheritDoc * @copydoc GravityView_Plugin_and_Theme_Hooks::add_hooks() * @since 1.15.2 */ protected function add_hooks() { parent::add_hooks(); if (gravityview_is_admin_page()) { // Make Yoast metabox go down to the bottom please. add_filter('wpseo_metabox_prio', array($this, '__return_low')); // Prevent the SEO from being checked. Eesh. add_filter('wpseo_use_page_analysis', '__return_false'); // WordPress SEO Plugin add_filter('option_wpseo_titles', array($this, 'hide_wordpress_seo_metabox')); } }
/** * Filter the values shown in GravityView frontend * * @since 1.17 */ function add_hooks() { parent::add_hooks(); add_filter('gravityview_field_entry_value_workflow_final_status', array($this, 'modify_entry_value_workflow_final_status'), 10, 4); add_filter('gravityview_field_entry_value_workflow_step', array($this, 'modify_entry_value_workflow_step'), 10, 4); }
/** * @since 1.17 */ protected function add_hooks() { parent::add_hooks(); add_filter('gravityview/common/get_form_fields', array($this, 'add_form_fields'), 10, 3); }
function add_hooks() { parent::add_hooks(); add_action('admin_init', array($this, 'add_hooks_admin_init'), 1); }
/** * Add filters * * @since 1.17 * * @return void */ protected function add_hooks() { parent::add_hooks(); add_filter('ctfw_has_content', array($this, 'if_gravityview_return_true')); }
/** * @inheritDoc * @since 1.15.2 */ function add_hooks() { parent::add_hooks(); add_action('admin_menu', array($this, 'remove_meta_box'), 11); }
/** * @since 1.16.5 */ protected function add_hooks() { parent::add_hooks(); $this->fix_posted_fields(); }
function add_hooks() { parent::add_hooks(); // Needs to be early to be triggered before DataTables add_action('template_redirect', array($this, 'parse_um_profile_post_content')); }