easy_svg_panel_added_names()
Reduces an add result to id, slug and wanted.
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_added_names( array $result ): array
Example
$names = easy_svg_panel_added_names( easy_svg_add_icon_result( $label, $svg ) );
Description
wanted falls back to slug.
Parameters
body
$resultarray
easy_svg_add_icon_result() output.
Return value
returnarray{id:int, slug:string, wanted:string}
Names.
Related
Was this page helpful?