rcp_delete_discount()

Delete a discount by ID.

Parameters:

  • $discount_id (int) - ID of the discount to delete.

Return values:

  • (bool) - True on success, false on failure.

Version added: 3.3

Have more questions? Submit a request
Powered by Zendesk