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

(boolean) 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'] );
	}

Changelog

Changelog
Version Description
3.3.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.