Noptin_Task::do_recurring( int $timestamp, int $interval )

Run the task repeatedly with a specified interval in seconds.

Description Description

See also See also

Top ↑

Parameters Parameters


(int) (Required) When the first instance of the job will run.


(int) (Required) How long to wait between runs.

Top ↑

Return Return

(int|bool) The action id on success. False otherwise.

Top ↑

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(


Top ↑

Changelog Changelog


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation