Automattic\WooCommerce\Internal\PushNotifications\Controllers

PushTokenRestController::get_rest_api_namespaceprotectedWC 10.6.0

Get the WooCommerce REST API namespace for the class.

Method of the class: PushTokenRestController{}

No Hooks.

Returns

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_rest_api_namespace(): string;

Changelog

Since 10.6.0 Introduced.

PushTokenRestController::get_rest_api_namespace() code WC 10.8.1

protected function get_rest_api_namespace(): string {
	return $this->route_namespace;
}