my_jetpack_products_classes

my_jetpack_products_classes

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.14.1

apply_filters('my_jetpack_products_classes') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php line 153
    		 * } );
    		 *
    		 * @param array $classes An array where the keys are the product slugs and the values are the class names.
    		 */
    		$final_classes = apply_filters( 'my_jetpack_products_classes', $classes );
    
    		// Check that the classes are still child of the same original classes.
    		foreach ( (array) $final_classes as $slug => $final_class ) {
    			if ( $final_class === $classes[ $slug ] ) {
    				continue;
    			}
    

See this hook used in plugins: