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