easy_svg_settings()
Returns the stored settings over the defaults, sanitized.
Function · Easy SVG · Status: Internal · Defined in includes/settings.php
Internal: not part of the promised public surface. It may change without notice.
Usage
easy_svg_settings(): array
Example
$max_mb = easy_svg_settings()['max_mb'];
Description
Reads the easy_svg_settings option on every call, without a static cache, and runs it through easy_svg_sanitize_settings(). The result always has svg_upload, icons and max_mb.
Return value
returnarray
svg_upload, icons and max_mb.
Related
Was this page helpful?