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.

Method of the class: StepLogRestController{}

No Hooks.

Returns

string.

Usage

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

Changelog

Since 11.3.0 Introduced.

StepLogRestController::get_rest_api_namespace() code WC 11.3.0

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