edd_get_discount_product_reqs( int $code_id = null )

Retrieve the discount product requirements.


Description Description


Parameters Parameters

$code_id

(Optional) Discount ID.

Default value: null


Top ↑

Return Return

(array) $product_reqs IDs of the required products.


Top ↑

Source Source

File: includes/discount-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Updated to use EDD_Discount object.
1.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.