__experimental_woocommerce_blocks_add_data_attributes_to_namespace

__experimental_woocommerce_blocks_add_data_attributes_to_namespace

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('__experimental_woocommerce_blocks_add_data_attributes_to_namespace') is found 1 times:

  • /src/Blocks/BlockTypesController.php line 248
    		 * @since 5.9.0
    		 *
    		 * @param array $allowed_namespaces List of namespaces.
    		 */
    		$allowed_namespaces = array_merge( array( 'woocommerce', 'woocommerce-checkout' ), (array) apply_filters( '__experimental_woocommerce_blocks_add_data_attributes_to_namespace', array() ) );
    
    		/**
    		 * Filters the list of allowed Block Names
    		 *
    		 * This hook defines which block names should have block name and attribute data- attributes appended on render.
    		 *