wpseo_schema_block_

wpseo_schema_block_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_schema_block_') is found 1 times:

  • /src/generators/schema-generator.php line 189
    				/**
    				 * 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 );
    				}
    			}
    		}