Astra_Icons::__construct()

Constructor function that initializes required actions and hooks


Description


Source

File: inc/core/class-astra-icons.php

	public function __construct() {
		// Remove astra.woff and other format of Astra font files when SVG is enabled.
		if ( self::is_svg_icons() ) {
			add_filter( 'astra_enable_default_fonts', '__return_false' );
		}
	}


User Contributed Notes

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