Automattic\WooCommerce\StoreApi\Routes\V1\Ucp
CatalogSearch::get_capability
The UCP capability this route serves.
Method of the class: CatalogSearch{}
No Hooks.
Returns
string.
Usage
// protected - for code of main (parent) or child class $result = $this->get_capability(): string;
CatalogSearch::get_capability() CatalogSearch::get capability code WC 11.3.0
protected function get_capability(): string {
return UcpUtils::CAPABILITY_CATALOG_SEARCH;
}