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

Filter to determine whether the PreviouslyUsedKeyword assessment should run.

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

add_filter( 'wpseo_previously_used_keyword_active', 'wp_kama_wpseo_previously_used_keyword_active_filter' );

/**
 * Function for `wpseo_previously_used_keyword_active` filter-hook.
 * 
 * @param bool $previouslyUsedKeywordActive Whether the PreviouslyUsedKeyword assessment should run.
 *
 * @return bool
 */
function wp_kama_wpseo_previously_used_keyword_active_filter( $previouslyUsedKeywordActive ){

	// filter...
	return $previouslyUsedKeywordActive;
}
$previouslyUsedKeywordActive(true|false)
Whether the PreviouslyUsedKeyword assessment should run.

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

WPSEO_Metabox_Formatter::get_defaults()
wpseo_previously_used_keyword_active
yoast/admin/formatter/class-metabox-formatter.php 184
'previouslyUsedKeywordActive'     => apply_filters( 'wpseo_previously_used_keyword_active', true ),

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

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