REST APIeasy_svg_panel_rest_permission()

easy_svg_panel_rest_permission()

The permission callback of every easy-svg/v1 route: manage_options.

Function · Easy SVG · Status: Internal · Defined in includes/panel.php

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

Usage

easy_svg_panel_rest_permission(): bool

Example

$allowed = easy_svg_panel_rest_permission();

Description

Returns current_user_can( 'manage_options' ).

Return value

returnbool

Allowed.