Automattic\WooCommerce\StoreApi\Routes\V1\Ucp

AbstractCatalogRoute::get_capability │ protected │ WC 1.0

The UCP capability this route serves, one of the UcpUtils::CAPABILITY_* constants.

Method of the class: AbstractCatalogRoute{}

No Hooks.

Returns

string.

Usage

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

AbstractCatalogRoute::get_capability() code WC 11.3.0

abstract protected function get_capability(): string;