WP_Async_Request::maybe_handle()

Maybe handle


Description Description

Check for correct nonce and pass to handler.


Top ↑

Source Source

File: vendor/deliciousbrains/wp-background-processing/classes/wp-async-request.php

	public function maybe_handle() {
		// Don't lock up other requests while processing
		session_write_close();

		check_ajax_referer( $this->identifier, 'nonce' );

		$this->handle();

		wp_die();
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.