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::find_by_name( string $name = '' )

Find a discount in the database with the name supplied.


Description Description


Parameters Parameters

$name

(Optional) Discount name.

Default value: ''


Top ↑

Return Return

(WP_Post) Post instance of the discount.


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.