WC_API_Server::is_xml_request()
Method: Check if the current request accepts an XML response by checking the endpoint suffix (.xml) or the HTTP ACCEPT header
Source: includes/legacy/api/v1/class-wc-api-server.php:768
Method: Check if the current request accepts an XML response by checking the endpoint suffix (.xml) or the HTTP ACCEPT header
Source: includes/legacy/api/v1/class-wc-api-server.php:768
Method: Check if the current request accepts a JSON response by checking the endpoint suffix (.json) or the HTTP ACCEPT header
Source: includes/legacy/api/v1/class-wc-api-server.php:746