easy_svg_icon
The shortcode behind the WPBakery Easy SVG Icon element, registered whenever WPBakery is active.
Shortcode · Easy SVG Pro · Status: Internal · Defined in includes/integrations/wpbakery/icon-field-wpbakery.php
Usage
[easy_svg_icon icon="collection/slug" label=""]
Example
echo do_shortcode( '[easy_svg_icon icon="acme/phone" label="Call us"]' );
Description
Registered on init at priority 5 when WPBakery is present and no other plugin owns the tag. Deliberately not tied to the wpbakery flag: switching the flag off only removes the element from the builder, while published shortcodes keep rendering instead of printing their own source. The label is passed to the free plugin's easy_svg_icon(), which decides role and aria-label.
Parameters
The icon reference, collection/slug.
Accessible name. Empty keeps the icon decorative.
Return value
The site's hardened inline SVG, or '' when the reference does not resolve.