easy_svg_panel_user_caps()
Returns which of the tab capabilities, plus manage_options, the current user holds.
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_user_caps(): array
Example
$caps = easy_svg_panel_user_caps();
Description
Handed to the panel as EasySvgPanelData.caps.
Return value
returnarray<string,bool>
Capability to held.
Related
Was this page helpful?