-
since
-
1.11.0
Table of Contents
-
POST_TYPE
= 'mpa_coupon'
-
$entityType
: string
-
__construct()
: mixed
-
getLabel()
: string
-
getPostType()
: string
-
getSingularLabel()
: string
-
increaseCouponUsageCount()
: mixed
-
register()
: mixed
-
registerMetaboxes()
: mixed
-
addActions()
: mixed
-
getDescription()
: string
-
getLabels()
: array<string|int, mixed>
-
registerArgs()
: array<string|int, mixed>
POST_TYPE
public
mixed
POST_TYPE
= 'mpa_coupon'
$entityType
protected
string
$entityType
-
since
-
1.0
__construct()
public
__construct() : mixed
-
since
-
1.0
Return values
mixed
—
getLabel()
public
getLabel() : string
Return values
string
—
getPostType()
public
getPostType() : string
-
since
-
1.0
Return values
string
—
getSingularLabel()
public
getSingularLabel() : string
Return values
string
—
increaseCouponUsageCount()
public
increaseCouponUsageCount(Booking $booking) : mixed
Parameters
-
$booking
: Booking
-
-
access
-
Return values
mixed
—
register()
public
register() : mixed
-
access
-
-
since
-
1.0
Return values
mixed
—
public
registerMetaboxes() : mixed
-
access
-
-
since
-
1.0
Return values
mixed
—
addActions()
protected
addActions() : mixed
Return values
mixed
—
getDescription()
protected
getDescription() : string
Return values
string
—
getLabels()
protected
getLabels() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
registerArgs()
protected
registerArgs() : array<string|int, mixed>
Return values
array<string|int, mixed>
—