astra_ext_adv_search_dynamic_css( string $dynamic_css, string $dynamic_css_filtered = '' )

Deprecating astra_ext_adv_search_dynamic_css function.


Description

Advanced search’s dynamic CSS.

See also


Parameters

$dynamic_css

(string) (Required) Astra Dynamic CSS.

$dynamic_css_filtered

(string) (Optional) Astra Dynamic CSS Filters.

Default value: ''


Return

(string)


Source

File: classes/deprecated/deprecated-functions.php

function astra_ext_adv_search_dynamic_css( $dynamic_css, $dynamic_css_filtered = '' ) {
	$css = '';
	if ( false === Astra_Icons::is_svg_icons() ) {
		$search_close_btn = array(
			'.ast-search-box.header-cover #close::before, .ast-search-box.full-screen #close::before' => array(
				'font-family' => 'Astra',
				'content'     => '"\e5cd"',
				'display'     => 'inline-block',
				'transition'  => 'transform .3s ease-in-out',
			),
		);

		/* Parse CSS from array() */
		$css .= astra_parse_css( $search_close_btn );
	}

	return $dynamic_css . $css;
}

Changelog

Changelog
Version Description
3.6.2 Introduced.


User Contributed Notes

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