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.24.8.1

apply_filters('wpseo_enable_structured_data_blocks') is found 1 times:

  • /src/integrations/blocks/structured-data-blocks.php line 86
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    * 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',
        [