wp_is_xml_request


wp_is_xml_request ( No parameters )

Returns:
  • (bool) True if `Accepts` or `Content-Type` headers contain `text/xml` or one of the related MIME types. False otherwise.
Defined at:

Description

Checks whether current request is an XML request, or is expecting an XML response.

Related Functions

wp_is_json_request, wp_is_jsonp_request, wp_safe_remote_request, wp_remote_request, wp_send_user_request

Top Google Results

User discussions

wpseek mobile