jetpack_disable_seo_tools, false

jetpack_disable_seo_tools, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_disable_seo_tools, false') is found 4 times:

  • /extensions/plugins/ai-assistant-plugin/ai-sidebar/class-jetpack-ai-sidebar.php line 368
    	 * @return bool
    	 */
    	private static function is_seo_tools_usable(): bool {
    		/** This filter is documented in modules/seo-tools/class-jetpack-seo-utils.php */
    		return ! apply_filters( 'jetpack_disable_seo_tools', false )
    			&& ( new Modules() )->is_active( 'seo-tools' );
    	}
    
    	/**
    	 * UI feature flag for the public Jetpack AI Sidebar Preview surface.
    	 *
    
  • /extensions/plugins/seo/seo.php line 40
    	function () {
    		if (
    			! is_seo_disabled()
    			/** This filter is already documented in modules/seo-tools/class-jetpack-seo-utils.php */
    			&& ! apply_filters( 'jetpack_disable_seo_tools', false )
    		) {
    			\Jetpack_Gutenberg::set_extension_available( 'jetpack-seo' );
    		}
    	}
    );
    
    
  • /modules/seo-tools/class-jetpack-seo-utils.php line 38
    		 * @since 5.0.0
    		 *
    		 * @param bool True if SEO Tools should be disabled, false otherwise.
    		 */
    		if ( apply_filters( 'jetpack_disable_seo_tools', false ) ) {
    			return false;
    		}
    
    		if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
    			return wpcom_site_has_feature( 'advanced-seo', get_current_blog_id() );
    		}
    
  • /modules/seo-tools.php line 49
    	}
    }
    
    /** This filter is documented in modules/seo-tools/class-jetpack-seo-utils.php */
    if ( ! apply_filters( 'jetpack_disable_seo_tools', false ) ) {
    	require_once __DIR__ . '/seo-tools/class-jetpack-seo.php';
    	new Jetpack_SEO();
    
    	require_once __DIR__ . '/seo-tools/class-jetpack-seo-admin-columns.php';
    	Jetpack_SEO_Admin_Columns::init();
    }