status_header


status_header ( $code, $description = '' )

Parameters:
  • (int) code HTTP status code.
  • (string) description Optional. A custom description for the HTTP status. Defaults to the result of get_status_header_desc() for the given code.
See:
Defined at:
Change Log:
  • 4: .

Description

Sets HTTP status header.

Related Functions

get_status_header_desc, get_header, has_custom_header, display_header, get_custom_header

Top Google Results

User discussions

wpseek mobile