WC_API_XML_Handler::get_content_type() public WC 2.1
Get the content type for the response
{} Это метод класса: WC_API_XML_Handler{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_API_XML_Handler = new WC_API_XML_Handler(); $WC_API_XML_Handler->get_content_type();
Список изменений
С версии 2.1 | Введена. |
Код WC_API_XML_Handler::get_content_type() WC API XML Handler::get content type WC 5.0.0
public function get_content_type() {
return 'application/xml; charset=' . get_option( 'blog_charset' );
}