Restrict Content Pro

rcp_get_discount()

Retrieves a single discount record by ID. Parameters: $discount_id (int) – ID of the discount. Return values: RCP_Discount object on success. false on failure. Introduced: Version 3.3.
Last updated: April 20, 2023
Was this page helpful?
Thanks for the feedback!