Automattic\WooCommerce\Blueprint\ResourceStorages

OrgPluginResourceStorage::get_supported_resourcepublicWC 1.0

Get the supported resource type.

Метод класса: OrgPluginResourceStorage{}

Хуков нет.

Возвращает

Строку. The supported resource type.

Использование

$OrgPluginResourceStorage = new OrgPluginResourceStorage();
$OrgPluginResourceStorage->get_supported_resource(): string;

Код OrgPluginResourceStorage::get_supported_resource() WC 10.0.2

public function get_supported_resource(): string {
	return 'wordpress.org/plugins';
}