Automattic\WooCommerce\Internal\Admin\Settings

PaymentsRestController::get_rest_api_namespace()protectedWC 1.0

Get the WooCommerce REST API namespace for the class.

Метод класса: PaymentsRestController{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_rest_api_namespace(): string;

Код PaymentsRestController::get_rest_api_namespace() WC 9.6.1

protected function get_rest_api_namespace(): string {
	return 'wc-admin';
}