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.

Method of the class: ActionableAbility{}

No Hooks.

Returns

string.

Usage

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

Changelog

Since 11.3.0 Introduced.

ActionableAbility::get_resource() code WC 11.3.0

abstract public function get_resource(): string;