Automattic\WooCommerce\Internal\Admin\Settings

PaymentsRestController::get_rest_api_namespaceprotectedWC 1.0

Get the WooCommerce REST API namespace for the class.

Method of the class: PaymentsRestController{}

No Hooks.

Returns

String.

Usage

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

PaymentsRestController::get_rest_api_namespace() code WC 9.9.4

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