gutenberg_should_block_use_interactivity_api

gutenberg_should_block_use_interactivity_api

Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.16.6.0

apply_filters('gutenberg_should_block_use_interactivity_api') is found 1 times:

  • /lib/experimental/blocks.php line 26
    	 *
    	 * @param bool   $enabled    Whether Interactivity API is used for block.
    	 * @param string $block_name Block name.
    	 */
    	return (bool) apply_filters( 'gutenberg_should_block_use_interactivity_api', true, $block_name );
    }
    
    if ( ! function_exists( 'wp_enqueue_block_view_script' ) ) {
    	/**
    	 * Enqueues a frontend script for a specific block.
    	 *