astra_addon_swap_mobile_below_header_sections()
Whether to fix the Swap Sections on Mobile Devices not working case or not.
Description
As this is frontend reflecting change added this backwards for existing users.
Return
(boolean) false if it is an existing user, true if not.
Source
File: addons/header-sections/classes/below-header-dynamic.css.php
function astra_addon_swap_mobile_below_header_sections() { $astra_settings = get_option( ASTRA_THEME_SETTINGS ); $astra_settings['support-swap-mobile-header-sections'] = isset( $astra_settings['support-swap-mobile-header-sections'] ) ? false : true; return apply_filters( 'astra_apply_swap_mobile_header_sections_css', $astra_settings['support-swap-mobile-header-sections'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.5.7 | Introduced. |