woocommerce_blocks_hook_compatibility_additional_data

woocommerce_blocks_hook_compatibility_additional_data

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_blocks_hook_compatibility_additional_data') is found 1 times:

  • /src/Blocks/Templates/AbstractTemplateCompatibility.php line 163
    		 * @param array $data Additional hooked data. Default to empty
    		 * @param string $class_name Class name within which the hook is called.
    		 * Either ArchiveProductTemplatesCompatibility or SingleProductTemplateCompatibility.
    		 */
    		$additional_hook_data = apply_filters( 'woocommerce_blocks_hook_compatibility_additional_data', array(), $class_name );
    
    		if ( empty( $additional_hook_data ) || ! is_array( $additional_hook_data ) ) {
    			return;
    		}
    
    		foreach ( $additional_hook_data as $data ) {