jetpack_partner_coupon_products

jetpack_partner_coupon_products

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

apply_filters('jetpack_partner_coupon_products') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-partner-coupon.php line 376
    		 *
    		 * @param array A list of product details.
    		 * @return array
    		 */
    		$product_details = apply_filters( 'jetpack_partner_coupon_products', array() );
    		$product_slug    = $this->get_supported_presets()[ $coupon_preset ];
    
    		foreach ( $product_details as $product ) {
    			if ( ! $this->array_keys_exist( array( 'title', 'slug', 'description', 'features' ), $product ) ) {
    				continue;
    			}
    

See this hook used in plugins: