WP_Ability_Category::get_labelpublicWP 6.9.0

Retrieves the human-readable label for the ability category.

Method of the class: WP_Ability_Category{}

No Hooks.

Returns

String. The human-readable ability category label.

Usage

$WP_Ability_Category = new WP_Ability_Category();
$WP_Ability_Category->get_label(): string;

Changelog

Since 6.9.0 Introduced.

WP_Ability_Category::get_label() code WP 6.9.1

public function get_label(): string {
	return $this->label;
}