wpseo_use_page_analysis, true

wpseo_use_page_analysis, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_use_page_analysis, true') is found 3 times:

  • /admin/class-meta-columns.php line 64
    	/**
    	 * When page analysis is enabled, just initialize the hooks.
    	 */
    	public function __construct() {
    		if ( apply_filters( 'wpseo_use_page_analysis', true ) === true ) {
    			add_action( 'admin_init', [ $this, 'setup_hooks' ] );
    		}
    
    		$this->analysis_seo         = new WPSEO_Metabox_Analysis_SEO();
    		$this->analysis_readability = new WPSEO_Metabox_Analysis_Readability();
    		$this->admin_columns_cache  = YoastSEO()->classes->get( Admin_Columns_Cache_Integration::class );
    
  • /inc/class-wpseo-admin-bar-menu.php line 832
    		 * Filter: 'wpseo_use_page_analysis' Determines if the analysis should be enabled.
    		 *
    		 * @param bool $enabled Determines if the analysis should be enabled.
    		 */
    		if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) {
    			return '';
    		}
    
    		return WPSEO_Meta::get_value( 'focuskw', $post->ID );
    	}
    
    
  • /inc/class-wpseo-admin-bar-menu.php line 851
    		if ( ! is_object( $post ) || ! property_exists( $post, 'ID' ) ) {
    			return '';
    		}
    
    		if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) {
    			return '';
    		}
    
    		return $this->get_score_icon();
    	}