WP_Async_Request::maybe_handle()
Maybe handle
Description
Check for correct nonce and pass to handler.
Source
File: bp-core/libraries/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(); }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.