wpseo_use_page_analysis хук-фильтрYoast 1.0

Filter: wpseo_use_page_analysis if the analysis should be enabled.

Использование

add_filter( 'wpseo_use_page_analysis', 'wp_kama_wpseo_use_page_analysis_filter' );

/**
 * Function for `wpseo_use_page_analysis` filter-hook.
 * 
 * @param bool $enabled Determines if the analysis should be enabled.
 *
 * @return bool
 */
function wp_kama_wpseo_use_page_analysis_filter( $enabled ){

	// filter...
	return $enabled;
}
$enabled(true|false)
Determines if the analysis should be enabled.

Где вызывается хук

WPSEO_Admin_Bar_Menu::get_post_focus_keyword()
wpseo_use_page_analysis
WPSEO_Meta_Columns::__construct()
wpseo_use_page_analysis
WPSEO_Admin_Bar_Menu::get_post_score()
wpseo_use_page_analysis
yoast/inc/class-wpseo-admin-bar-menu.php 758
if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) {
yoast/admin/class-meta-columns.php 57
if ( apply_filters( 'wpseo_use_page_analysis', true ) === true ) {
yoast/inc/class-wpseo-admin-bar-menu.php 777
if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) {

Где используется хук в Yoast SEO

Использование не найдено.