Noptin_Task::do_async()

Runs the task in the background as soon as possible.


Description Description

See also See also


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/class-noptin-task.php

	public function do_async() {

		if ( ! $this->is_usable() || ! function_exists( 'as_enqueue_async_action' ) ) {
			return false;
		}

		return as_enqueue_async_action(
			$this->action,
			$this->params,
			$this->group
		);

	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.7Introduced.

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