wp_is_xml_request

SummerySummery

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

Syntax

wp_is_xml_request()

ReturnReturn

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

SourceSource

File: wp-includes/load.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top