Astra_WP_Async_Request::__construct()
Initiate new async request
Description
Source
File: inc/lib/batch-processing/class-astra-wp-async-request.php
public function __construct() { $this->identifier = $this->prefix . '_' . $this->action; add_action( 'wp_ajax_' . $this->identifier, array( $this, 'maybe_handle' ) ); add_action( 'wp_ajax_nopriv_' . $this->identifier, array( $this, 'maybe_handle' ) ); }
Expand full source code Collapse full source code View on Trac