WooCommerce Code Reference

Abilities

Interfaces, Classes and Traits

AbilityDefinition
Defines a WooCommerce ability registration class.
ActionableAbility
An ability that changes one object and saves it one time. Register it with a subclass as the `ability_class`. The execute callback loads the object, checks the `extensions` input against the field schemas, changes the object in memory, writes the fields with their `update_callback`, runs the validators that ExtensibleAbilities::register_validator() adds, and then saves it. A rejection from any step saves nothing.
ExtensibleAbilities
The entry point for extensions in WooCommerce's abilities.