Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

EDD_Discount::setup_discount( WP_Post $discount = null )

Setup object vars with discount WP_Post object.


Description Description


Parameters Parameters

$discount

(Optional) WP_Post instance of the discount.

Default value: null


Top ↑

Return Return

(bool) Object var initialisation successful 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.