PostTypesRegistry
in package

Tags
since
1.0

Table of Contents

$postTypes  : array<string|int, AbstractPostType>
booking()  : BookingPostType
coupon()  : CouponPostType
employee()  : EmployeePostType
getPostType()  : AbstractPostType|null
getPostTypes()  : array<string|int, mixed>
location()  : LocationPostType
notification()  : NotificationPostType
payment()  : PaymentPostType
registerAll()  : mixed
reservation()  : ReservationPostType
schedule()  : SchedulePostType
service()  : ServicePostType
shortcode()  : ShortcodePostType

Properties

$postTypes

protected array<string|int, AbstractPostType> $postTypes = []
Tags
since
1.0

Methods

coupon()

public coupon() : CouponPostType
Tags
since
1.11.0
Return values
CouponPostType

getPostType()

public getPostType(string $postType) : AbstractPostType|null
Parameters
$postType : string
Tags
since
1.0
Return values
AbstractPostType|null

getPostTypes()

public getPostTypes() : array<string|int, mixed>
Tags
since
1.7.0
Return values
array<string|int, mixed>

registerAll()

public registerAll() : mixed
Tags
since
1.0
Return values
mixed

Search results