Automattic\WooCommerce\Internal\Abilities\Domain

ProductCreate::get_resource │ public │ WC 1.0

Resource that the ability changes.

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

Хуков нет.

Возвращает

string.

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

$ProductCreate = new ProductCreate();
$ProductCreate->get_resource(): string;

Код ProductCreate::get_resource() WC 11.3.0

public function get_resource(): string {
	return 'product';
}