Automattic\WooCommerce\Abilities

ActionableAbility::get_resource │ public │ WC 11.3.0

Resource that the ability changes, for example product or order. The fields of this resource are written.

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

Хуков нет.

Возвращает

string.

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

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

Список изменений

С версии 11.3.0 Введена.

Код ActionableAbility::get_resource() WC 11.3.0

abstract public function get_resource(): string;