__experimental_woocommerce_blocks_add_data_attributes_to_namespace

__experimental_woocommerce_blocks_add_data_attributes_to_namespace

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('__experimental_woocommerce_blocks_add_data_attributes_to_namespace') is found 1 times:

  • /src/Blocks/BlockTypesController.php line 130
    		 * @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.
    		 *