easy_svg_icons
Transient that caches the full icon list for a day.
Option · Easy SVG · Status: Internal · Defined in includes/icon-manager.php
Internal: not part of the promised public surface. It may change without notice.
Usage
get_transient( 'easy_svg_icons' )
Example
easy_svg_forget_icons(); // Drops the transient and raises the version.
Description
Set by easy_svg_stored_icons() as array( 'version' => int, 'icons' => array ) with DAY_IN_SECONDS expiry, deleted by easy_svg_forget_icons(). It saves a full query with markup on every init. Removed on uninstall.
Read the list through
easy_svg_stored_icons(), which checks the version; the raw transient can be stale.Related
Was this page helpful?