Abilitieseasy-svg-pro/get-documentation

easy-svg-pro/get-documentation

Find the Easy SVG Pro documentation.

Ability · Easy SVG Pro · Defined in includes/abilities/docs.php

Usage

wp_get_ability( 'easy-svg-pro/get-documentation' )->execute( array $input ): array|WP_Error

Example

<?php
$ability = wp_get_ability( 'easy-svg-pro/get-documentation' );
if ( $ability ) {
	$result = $ability->execute( array(
		'ability' => 'move-icons',
	) );
}

Description

Returns the address of the documentation MCP server and, for every Easy SVG Pro ability, the page that documents it. Read the page before using an ability for the first time.

Answers from the documentation of support.unleash-wp.com and changes nothing on the site.

Registered while the AI agents (MCP) switch is on, which it is out of the box. Permission: the user needs manage_options.

Read only: it changes nothing.

Parameters

body
abilitystring

Optional. One ability name, to get only its page.

Return value

returnarray|WP_Error

An array on success, a WP_Error with the route's code and status on failure.