Automattic\WooCommerce\Internal\PushNotifications\Controllers

StepLogRestController::get_rest_api_namespace │ protected │ WC 11.3.0

Class identifier used by woocommerce_rest_api_get_rest_namespaces.

Distinct from the URL namespace, because the filter keys one class per value and sibling controllers share the URL namespace.

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

Хуков нет.

Возвращает

string.

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

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

Список изменений

С версии 11.3.0 Введена.

Код StepLogRestController::get_rest_api_namespace() WC 11.3.0

protected function get_rest_api_namespace(): string {
	return 'wc-push-notifications-step-logs';
}