WP_Async_Request::maybe_handle()

Maybe handle


Description

Check for correct nonce and pass to handler.


Source

File: classes/library/batch-processing/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();
		}


User Contributed Notes

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