astra_addon_get_mobile_breakpoint( string $min = '', string $max = '' )
Get the mobile breakpoint value.
Description
Parameters
- $min
-
(string) (Optional) min.
Default value: ''
- $max
-
(string) (Optional) max.
Default value: ''
Return
(string) header_breakpoint.
Source
File: classes/helper-functions.php
function astra_addon_get_mobile_breakpoint( $min = '', $max = '' ) { $header_breakpoint = apply_filters( 'astra_mobile_breakpoint', 544 ); if ( '' !== $min ) { $header_breakpoint = $header_breakpoint - $min; } elseif ( '' !== $max ) { $header_breakpoint = $header_breakpoint + $max; } return absint( $header_breakpoint ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |
Related
Used By
Used By | Description |
---|---|
addons/nav-menu/classes/builder-dynamic.css.php: astra_addon_mega_menu_dynamic_css() |
Dynamic CSS |
addons/mobile-header/classes/dynamic-css/dynamic-colors-background.css.php: astra_addon_mobile_header_colors_background_dynamic_css() |
Dynamic CSS |
addons/mobile-header/classes/dynamic-css/dynamic-below-header.css.php: astra_addon_mobile_below_header_dynamic_css() |
Dynamic CSS |
addons/mobile-header/classes/dynamic-css/dynamic-spacing.css.php: astra_addon_mobile_header_spacing_dynamic_css() |
Dynamic CSS |
addons/mobile-header/classes/dynamic-css/dynamic-above-header.css.php: astra_addon_mobile_above_header_dynamic_css() |
Dynamic CSS |
addons/colors-and-background/classes/dynamic-css/header-sections-dynamic.css.php: astra_addon_header_sections_colors_dynamic_css() |
Dynamic CSS |
addons/colors-and-background/classes/dynamic-css/header-builder-sections-dynamic.css.php: astra_addon_header_builder_sections_colors_dynamic_css() |
Dynamic CSS |
addons/learndash/classes/dynamic.css.php: astra_addon_learndash_dynamic_css() |
Dynamic CSS |
classes/builder/type/footer/divider/dynamic-css/dynamic.css.php: astra_addon_footer_divider_dynamic_css() |
Dynamic CSS |
classes/builder/type/footer/language-switcher/dynamic-css/dynamic.css.php: astra_addon_footer_lang_switcher_dynamic_css() |
Dynamic CSS |
addons/advanced-hooks/classes/ext-advanced-hooks-dynamic.css.php: astra_ext_advanced_hooks_dynamic_css() |
Dynamic CSS |
addons/blog-pro/classes/class-astra-ext-blog-pro-loader.php: Astra_Ext_Blog_Pro_Loader::preview_scripts() |
Customizer Preview |
addons/sticky-header/classes/dynamic-css/button-dynamic.css.php: astra_sticky_header_button_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/dynamic-css/social-dynamic.css.php: astra_sticky_header_social_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/dynamic-css/header-sections-dynamic.css.php: astra_below_header_builder_sections_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/dynamic-css/header-sections-dynamic.css.php: astra_above_header_builder_sections_dynamic_css() |
Dynamic CSS |
classes/builder/class-astra-addon-builder-customizer.php: Astra_Addon_Builder_Customizer::enqueue_customizer_preview_scripts() |
Add Customizer preview script. |
classes/builder/type/base/dynamic-css/social-icon/class-astra-social-icon-component-dynamic-css.php: Astra_Social_Icon_Component_Dynamic_CSS::astra_social_dynamic_css() |
Dynamic CSS |
classes/builder/type/base/dynamic-css/divider/class-astra-divider-component-dynamic-css.php: Astra_Divider_Component_Dynamic_CSS::astra_divider_dynamic_css() |
Dynamic CSS |
classes/builder/type/base/dynamic-css/language-switcher/class-astra-language-switcher-component-dynamic-css.php: Astra_Language_Switcher_Component_Dynamic_CSS::astra_language_switcher_dynamic_css() |
Dynamic CSS |
classes/builder/type/header/off-canvas/dynamic-css/dynamic.css.php: astra_addon_offcanvas_dynamic_css() |
Dynamic CSS |
classes/builder/type/footer/divider/classes/class-astra-footer-divider-component-loader.php: Astra_Footer_Divider_Component_Loader::preview_scripts() |
Customizer Preview |
classes/astra-common-dynamic-css.php: astra_addon_blog_pro_dynamic_css() |
Dynamic CSS for Single Post Author Info-box |
classes/class-addon-gutenberg-editor-css.php: Addon_Gutenberg_Editor_CSS::woo_gb_blocks_dynamic_css() |
Dynamic CSS – WooCommerce Blocks |
addons/colors-and-background/classes/dynamic-css/class-astra-addon-colors-dynamic-css.php: Astra_Addon_Colors_Dynamic_CSS::astra_ext_colors_dynamic_css() |
Dynamic CSS |
classes/class-addon-gutenberg-editor-css.php: Addon_Gutenberg_Editor_CSS::colors_and_background_addon_gutenberg_dynamic_css() |
Dynamic CSS – Colors and Background |
addons/edd/classes/dynamic.css.php: astra_edd_dynamic_css() |
Dynamic CSS |
classes/astra-common-functions.php: astra_color_responsive_css() |
Astra Responsive Colors |
addons/sticky-header/classes/dynamic-css/site-layouts-dynamic.css.php: astra_ext_sticky_header_with_site_layouts_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/dynamic-css/header-sections-dynamic.css.php: astra_ext_above_header_sections_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/dynamic-css/header-sections-dynamic.css.php: astra_ext_below_header_sections_dynamic_css() |
Dynamic CSS |
addons/woocommerce/classes/dynamic.css.php: astra_woocommerce_dynamic_css() |
Dynamic CSS |
addons/typography/classes/dynamic.css.php: astra_typography_dynamic_css() |
Dynamic CSS |
addons/sticky-header/classes/class-astra-ext-sticky-header-markup.php: Astra_Ext_Sticky_Header_Markup::localize_variables() |
Add Localize variables |
addons/sticky-header/classes/dynamic-css/dynamic.css.php: astra_ext_sticky_header_dynamic_css() |
Dynamic CSS |
addons/blog-pro/classes/dynamic.php: astra_ext_blog_pro_dynamic_css() |
Dynamic CSS |
addons/advanced-footer/classes/dynamic.css.php: astra_ext_footer_adv_dynamic_css() |
Dynamic CSS |
addons/header-sections/classes/above-header-dynamic.css.php: astra_ext_above_header_dynamic_css() |
Dynamic CSS funtion |
addons/header-sections/classes/below-header-dynamic.css.php: astra_ext_below_header_dynamic_css() |
Dynamic CSS funtion |
addons/colors-and-background/classes/class-astra-ext-colors-loader.php: Astra_Ext_Colors_Loader::preview_scripts() |
Customizer Preview |
addons/lifterlms/classes/dynamic.css.php: astra_lifterlms_dynamic_css() |
Dynamic CSS |
addons/spacing/classes/blog-dynamic.css.php: astra_ext_spacing_dynamic_css() |
Dynamic CSS |
addons/spacing/classes/class-astra-ext-spacing-loader.php: Astra_Ext_Spacing_Loader::preview_scripts() |
Customizer Preview |
addons/site-layouts/classes/dynamic.css.php: astra_ext_site_layouts_dynamic_css() |
Dynamic CSS |