wpseo_wincher_all_keyphrases
Filters the keyphrases collected by the Wincher integration from all the posts.
Использование
add_filter( 'wpseo_wincher_all_keyphrases', 'wp_kama_wpseo_wincher_all_keyphrases_filter' ); /** * Function for `wpseo_wincher_all_keyphrases` filter-hook. * * @param array $keyphrases The keyphrases array. * * @return array */ function wp_kama_wpseo_wincher_all_keyphrases_filter( $keyphrases ){ // filter... return $keyphrases; }
- $keyphrases(массив)
- The keyphrases array.
Где вызывается хук
wpseo_wincher_all_keyphrases
yoast/src/actions/wincher/wincher-keyphrases-action.php 298
$keyphrases = \apply_filters( 'wpseo_wincher_all_keyphrases', $keyphrases );