AbandonBookingPendingUserCron
extends AbstractCron
in package
Table of Contents
- ACTION_PREFIX = 'mphb_cron_'
- $action : string
- Action hook to execute when cron is run.
- $id : string
- $interval : string
- How often the event should recur. Registered WP Interval Name.
- $retrievePostsLimit : mixed
- __construct() : mixed
- doCronJob() : mixed
- getAction() : string
- getId() : string
- isScheduled() : mixed
- schedule() : mixed
- scheduleAt() : mixed
- scheduledAt() : int|false
- setInterval() : mixed
- unschedule() : mixed
Constants
ACTION_PREFIX
public
mixed
ACTION_PREFIX
= 'mphb_cron_'
Properties
$action
Action hook to execute when cron is run.
protected
string
$action
$id
protected
string
$id
$interval
How often the event should recur. Registered WP Interval Name.
protected
string
$interval
$retrievePostsLimit
private
mixed
$retrievePostsLimit
= 10
Methods
__construct()
public
__construct(mixed $id, mixed $interval) : mixed
Parameters
- $id : mixed
- $interval : mixed
Return values
mixed —doCronJob()
public
doCronJob() : mixed
Return values
mixed —getAction()
public
getAction() : string
Return values
string —getId()
public
getId() : string
Return values
string —isScheduled()
public
isScheduled() : mixed
Return values
mixed —schedule()
public
schedule() : mixed
Return values
mixed —scheduleAt()
public
scheduleAt(mixed $timestamp) : mixed
Parameters
- $timestamp : mixed
Return values
mixed —scheduledAt()
public
scheduledAt() : int|false
Tags
Return values
int|false —setInterval()
public
setInterval(mixed $interval) : mixed
Parameters
- $interval : mixed
Return values
mixed —unschedule()
public
unschedule() : mixed