wpseo_schema_block_(block_type) хук-фильтрYoast 1.0

Filter: 'wpseo_schema_block_<block-type>'. This filter is documented in the generate_graph() function in this class.

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

add_filter( 'wpseo_schema_block_(block_type)', 'wp_kama_wpseo_schema_block_type_filter', 10, 3 );

/**
 * Function for `wpseo_schema_block_(block_type)` filter-hook.
 * 
 * @param  $graph   
 * @param  $block   
 * @param  $context 
 *
 * @return 
 */
function wp_kama_wpseo_schema_block_type_filter( $graph, $block, $context ){

	// filter...
	return $graph;
}
$graph
-
$block
-
$context
-

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

Schema_Generator::add_schema_blocks_graph_pieces()
wpseo_schema_block_(block_type)
yoast/src/generators/schema-generator.php 190
$graph = \apply_filters( 'wpseo_schema_block_' . $block_type, $graph, $block, $context );

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

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