Noptin_Task::do_recurring( int $timestamp, int $interval )
Run the task repeatedly with a specified interval in seconds.
Description Description
See also See also
Parameters Parameters
- $timestamp
(int) (Required) When the first instance of the job will run.
- $interval
(int) (Required) How long to wait between runs.
Return Return
(int|bool) The action id on success. False otherwise.
Source Source
File: includes/class-noptin-task.php
public function do_recurring( $timestamp, $interval ) { if ( ! $this->is_usable() || ! function_exists( 'as_schedule_recurring_action' ) ) { return false; } return as_schedule_recurring_action( $timestamp, $interval, $this->action, $this->params, $this->group ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |