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

Filter the Yoast SEO development mode.

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

add_filter( 'wpseo_debug_json_data', 'wp_kama_wpseo_debug_json_data_filter' );

/**
 * Function for `wpseo_debug_json_data` filter-hook.
 * 
 * @param array $data Allows filtering of the JSON data for debug purposes.
 *
 * @return array
 */
function wp_kama_wpseo_debug_json_data_filter( $data ){

	// filter...
	return $data;
}
$data(массив)
Allows filtering of the JSON data for debug purposes.

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

WPSEO_Utils::format_json_encode()
wpseo_debug_json_data
yoast/inc/class-wpseo-utils.php 929
$data = apply_filters( 'wpseo_debug_json_data', $data );

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

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