Sends an HTTP status code.
Parameters
$code
intrequired- HTTP status.
Source
protected function set_status( $code ) {
status_header( $code );
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
Sends an HTTP status code.
$code
intrequiredprotected function set_status( $code ) {
status_header( $code );
}
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.