Chuyển tới nội dung chính

Action: wu_transition_discount_code_date_expiration

Fires when the date expiration of a discount code transitions from one value to another.

This hook is fired by BerlinDB when a database UPDATE changes the date_expiration column for a discount code row.

Parameters

NameTypeDescription
$old_valuestringThe previous date expiration value.
$new_valuestringThe new date expiration value.
$item_idintThe discount code ID.

Since

  • 2.0.0

Source

Defined in inc/documentation/berlindb-dynamic-hooks.php at line 428