easy_svg_max_mb_ceiling()
Returns the highest max_mb a site may set, at least 1.
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_max_mb_ceiling(): int
Example
$ceiling = easy_svg_max_mb_ceiling();
Description
The easy_svg_max_mb_ceiling filter (default 20), floored at 1. Used by easy_svg_sanitize_settings() and handed to the panel as maxMbCeiling.
Return value
returnint
Ceiling in MB.
Related
Was this page helpful?