Dataeasy_svg_settings_defaults()

easy_svg_settings_defaults()

Returns the default settings: both features off, max_mb 2.

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_defaults(): array

Example

$defaults = easy_svg_settings_defaults();

Description

The shape every settings read is normalised to. Features are off on a fresh install; max_mb is a limit that is always enforced, only its value changes.

Return value

returnarray

array( 'svg_upload' => false, 'icons' => false, 'max_mb' => 2 )