wpseo_enable_structured_data_blocks

wpseo_enable_structured_data_blocks

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

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_enable_structured_data_blocks') is found 1 times:

  • /src/integrations/blocks/structured-data-blocks.php line 86
    		 * Filter: 'wpseo_enable_structured_data_blocks' - Allows disabling Yoast's schema blocks entirely.
    		 *
    		 * @param bool $enable If false, our structured data blocks won't show.
    		 */
    		if ( ! \apply_filters( 'wpseo_enable_structured_data_blocks', true ) ) {
    			return;
    		}
    
    		\register_block_type(
    			\WPSEO_PATH . 'blocks/structured-data-blocks/faq/block.json',
    			[