astra_pro_sticky_header_submenu_below_header_fix()

Check backwards compatibility CSS for loading submenu below the header needs to be added.


Description


Return

(boolean) true if CSS should be included, False if not.


Source

File: addons/sticky-header/classes/dynamic-css/dynamic.css.php

function astra_pro_sticky_header_submenu_below_header_fix() {

	if ( false == astra_get_option( 'submenu-below-header', true ) && false === apply_filters( 'astra_submenu_below_header_fix', false ) ) {
		return false;
	} else {
		return true;
	}
}

Changelog

Changelog
Version Description
1.6.0 Introduced.


User Contributed Notes

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