wpseo_schema_block_ . $block_type, $graph, $block, $context
wpseo_schema_block_ . $block_type, $graph, $block, $context
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_schema_block_ . $block_type, $graph, $block, $context') is found 1 times:
- /src/generators/schema-generator.php line 186
/** * Filter: 'wpseo_schema_block_<block-type>'. * This filter is documented in the `generate_graph()` function in this class. */ $graph = \apply_filters( 'wpseo_schema_block_' . $block_type, $graph, $block, $context ); if ( isset( $block['attrs']['yoast-schema'] ) ) { $graph[] = $this->schema_replace_vars_helper->replace( $block['attrs']['yoast-schema'], $context->presentation ); } } }