Scheduled_Task implements Schedulable
Abstract class which represents a single scheduled task using WordPress CRON.
The task is automatically unscheduled on plugin deactivation.
Tags
Interfaces, Classes and Traits
- Schedulable
- Something that can be scheduled.
Table of Contents
- $plugin_file : mixed
- __construct() : mixed
- run() : mixed
- schedule() : mixed
- unschedule() : mixed
- get_cron_hook() : mixed
- get_interval() : mixed
Properties
$plugin_file
private
mixed
$plugin_file
Methods
__construct()
public
__construct(mixed $plugin_file) : mixed
Parameters
- $plugin_file : mixed
Return values
mixed —run()
public
abstract run() : mixed
Return values
mixed —schedule()
public
schedule() : mixed
Return values
mixed —unschedule()
public
unschedule() : mixed
Return values
mixed —get_cron_hook()
protected
abstract get_cron_hook() : mixed
Return values
mixed —get_interval()
protected
abstract get_interval() : mixed