Automattic\WooCommerce\Internal\Admin\EmailPreview
EmailPreviewRestController::get_rest_api_namespace
Get the WooCommerce REST API namespace for the class.
Метод класса: EmailPreviewRestController{}
Хуков нет.
Возвращает
Строку.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_rest_api_namespace(): string;
Код EmailPreviewRestController::get_rest_api_namespace() EmailPreviewRestController::get rest api namespace WC 10.5.0
protected function get_rest_api_namespace(): string {
return 'wc-admin-email';
}