wpseo_debug_json_data хук-фильтр . Yoast 1.0
Filter the Yoast SEO development mode.
Использование
add_filter( 'wpseo_debug_json_data', 'filter_function_name_4473' ); function filter_function_name_4473( $data ){ // filter... return $data; }
- $data(массив)
- Allows filtering of the JSON data for debug purposes.
Где вызывается хук
wpseo_debug_json_data
yoast/inc/class-wpseo-utils.php 983
$data = apply_filters( 'wpseo_debug_json_data', $data );