Abilitieseasy-svg-pro

easy-svg-pro

The ability category easy-svg-pro, labelled Easy SVG, that holds the four icon abilities.

Ability · Easy SVG Pro · Status: Internal · Defined in includes/abilities/abilities.php

Internal: not part of the promised public surface. It may change without notice.

Usage

wp_register_ability_category( 'easy-svg-pro', array( 'label' => 'Easy SVG', ... ) )

Example

<?php
$category = wp_get_ability_category( 'easy-svg-pro' );
if ( $category ) {
	echo esc_html( $category->get_label() );
}

Description

Registered on wp_abilities_api_categories_init. Its slug is also the namespace of the ability IDs. It is easy-svg-pro rather than easy-svg so it never collides with the free plugin's names; core refuses a second registration of an ID. Registered only when the Abilities API exists, the licence is active and the AI agent abilities feature is on. Permission: the user must have manage_options.

Return value

returncategory

The ability category every Easy SVG Pro ability names.