llms_find_coupon( string $code = '', int $dupcheck_id )

Get the most recently created coupon ID for a given code


Description Description


Parameters Parameters

$code

(Optional) The coupon's code (title). Default is empty string.

Default value: ''

$dupcheck_id

(Optional) Coupon id that can be passed which will be excluded during the query this is used to dupcheck the coupon code during coupon creation. Default is 0.


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/llms.functions.core.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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