Uses
| Uses | Description |
|---|---|
| wp-includes/functions.php: status_header() | Set HTTP status header. |
Sends an HTTP status code.
(int) (Required) HTTP status.
File: wp-includes/rest-api/class-wp-rest-server.php
protected function set_status( $code ) {
status_header( $code );
} | Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_server/set_status