Requests_Session::post() WordPress Method
The Requests_Session::post() method is used to send a POST request to a specified Wordpress URL. This is useful for submitting data to forms or sending JSON payloads to Wordpress APIs.
Requests_Session::post( $url, $headers = array(), $data = array(), $options = array() ) #
Send a POST request
Source
File: wp-includes/Requests/Session.php
public function post($url, $headers = array(), $data = array(), $options = array()) { return $this->request($url, $headers, $data, Requests::POST, $options); }
Expand full source codeCollapse full source codeView on TracView on GitHub