Astra_Icons::is_svg_icons()
Check if we need to load icons as SVG or fonts.
Description
Returns true if SVG false if font.
Return
(bool) should be svg or font.
Source
File: inc/core/class-astra-icons.php
public static function is_svg_icons() {
$astra_settings = get_option( ASTRA_THEME_SETTINGS );
$astra_settings['can-update-astra-icons-svg'] = ( isset( $astra_settings['can-update-astra-icons-svg'] ) && false === $astra_settings['can-update-astra-icons-svg'] ) ? false : true;
return apply_filters( 'astra_is_svg_icons', $astra_settings['can-update-astra-icons-svg'] );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |