WP_Ability::get_label
Retrieves the human-readable label for the ability.
Method of the class: WP_Ability{}
No Hooks.
Returns
String. The human-readable ability label.
Usage
$WP_Ability = new WP_Ability(); $WP_Ability->get_label(): string;
Changelog
| Since 6.9.0 | Introduced. |
WP_Ability::get_label() WP Ability::get label code WP 6.9
public function get_label(): string {
return $this->label;
}