WC_API_Handler::get_content_type()
Get the content type for the response
This should return the proper HTTP content-type for the response
Метод класса: WC_API_Handler{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_API_Handler = new WC_API_Handler(); $WC_API_Handler->get_content_type();
Список изменений
С версии 2.1 | Введена. |
Код WC_API_Handler::get_content_type() WC API Handler::get content type WC 7.5.1
public function get_content_type();