Astra_Ext_Advanced_Headers_Markup::header_display_outside_menu( string|boolean $value )
Advanced Header Custom Menu Outside/Inside
Description
Parameters
- $value
-
(string|boolean) (Required) display menu outside or not.
Return
(string|boolean)
Source
File: addons/advanced-headers/classes/class-astra-ext-advanced-headers-markup.php
public function header_display_outside_menu( $value ) { $custom_menu_item = Astra_Ext_Advanced_Headers_Loader::astra_advanced_headers_design_option( 'custom-menu-item' ); if ( ! ( self::advanced_header_enabled() ) || ( is_front_page() && 'posts' == get_option( 'show_on_front' ) ) || 'default' == $custom_menu_item || '' == $custom_menu_item ) { return $value; } $display_outside = Astra_Ext_Advanced_Headers_Loader::astra_advanced_headers_design_option( 'custom-menu-item-outside' ); return $display_outside; }
Expand full source code Collapse full source code View on Trac