Astra_Dynamic_CSS::astra_submenu_below_header_fix()
Check backwards compatibility CSS for loading submenu below the header needs to be added.
Description
Return
(bool) true if CSS should be included, False if not.
Source
File: inc/class-astra-dynamic-css.php
public static function astra_submenu_below_header_fix() {
if ( false === astra_get_option( 'submenu-below-header', true ) &&
false === apply_filters(
'astra_submenu_below_header_fix',
false
) ) {
return false;
}
return true;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |