Scheduled_Task implements Schedulable

Abstract class which represents a single scheduled task using WordPress CRON.

The task is automatically unscheduled on plugin deactivation.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

version
1.0

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

Methods

__construct()

public __construct(mixed $plugin_file) : mixed
Parameters
$plugin_file : 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
Return values
mixed

Search results