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

Adapt the meta query used to filter the post overview on keyphrase.


add_filter( 'wpseo_change_keyphrase_filter_in_request', 'wp_kama_wpseo_change_keyphrase_filter_in_request_filter', 10, 2 );

 * Function for `wpseo_change_keyphrase_filter_in_request` filter-hook.
 * @param array $keyword_filter The current keyword filter.
 * @param array $keyphrase      The keyphrase used in the filter.
 * @return array
function wp_kama_wpseo_change_keyphrase_filter_in_request_filter( $keyword_filter, $keyphrase ){

	// filter...
	return $keyword_filter;
The current keyword filter.
The keyphrase used in the filter.

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

yoast/admin/class-meta-columns.php 407-411
$keyphrase_filter = \apply_filters(
	$this->get_keyword_filter( $current_keyword_filter ),

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

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