WP_Async_Request::get_post_args()

Get post args

Description

Return

(array)

Source

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

124
125
126
127
128
129
130
131
132
133
134
135
136
protected function get_post_args() {
    if ( property_exists( $this, 'post_args' ) ) {
        return $this->post_args;
    }
 
    return array(
        'timeout'   => 0.01,
        'blocking'  => false,
        'body'      => $this->data,
        'cookies'   => $_COOKIE,
        'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
    );
}

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.