WP_Async_Request::get_query_args()

Get query args

Description

Return

(array)

Source

File: bp-core/libraries/wp-async-request.php

95
96
97
98
99
100
101
102
103
104
protected function get_query_args() {
    if ( property_exists( $this, 'query_args' ) ) {
        return $this->query_args;
    }
 
    return array(
        'action' => $this->identifier,
        'nonce'  => wp_create_nonce( $this->identifier ),
    );
}

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.