RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Actions
  6. rpress_pre_delete_discount

rpress_pre_delete_discount

This action just before a discount code is deleted. It receives one parameters: `$discount_id`.

do_action( 'rpress_pre_delete_discount', $discount_id );

How can we help?