AbilityDefinition
in
Defines a WooCommerce ability registration class.
Tags
Table of Contents
- get_name() : string
- Get the ability name.
- get_registration_args() : array<string|int, mixed>
- Get the arguments used to register the ability with the WordPress Abilities API.
Methods
get_name()
Get the ability name.
public
static get_name() : string
Tags
Return values
string —get_registration_args()
Get the arguments used to register the ability with the WordPress Abilities API.
public
static get_registration_args() : array<string|int, mixed>
