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.
Filed under
Developer Docs – Functions
Was this page helpful?
Thanks for the feedback!