EDD_Discount::update_status( string $new_status = 'active' )

Update the status of the discount.


Description Description


Parameters Parameters

$new_status

(Optional) New status (default: active)

Default value: 'active'


Top ↑

Return Return

(bool) If the status been updated or not.


Top ↑

Source Source

File: includes/class-edd-discount.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.