Astra_Ext_Sticky_Header_Markup::none_header_markup()
Site Header –
Description
Source
File: addons/sticky-header/classes/class-astra-ext-sticky-header-markup.php
		public function none_header_markup() {
			$main_stick        = astra_get_option( 'header-main-stick' );
			$header_style      = astra_get_option( 'sticky-header-style' );
			$inherit_desk_logo = astra_get_option( 'different-sticky-logo', false );
			$sticky_header_meta         = astra_get_option_meta( 'stick-header-meta' );
			$sticky_primary_header_meta = astra_get_option_meta( 'header-main-stick-meta' );
			if ( '1' == $inherit_desk_logo && ( '1' == $main_stick || ( 'enabled' == $sticky_header_meta && 'on' == $sticky_primary_header_meta ) ) && 'none' == $header_style ) {
				// Logo For None Effect.
				add_filter( 'astra_has_custom_logo', '__return_true' );
				add_filter( 'get_custom_logo', array( $this, 'none_custom_logo' ), 10, 2 );
			}
			if ( true === astra_addon_builder_helper()->is_header_footer_builder_active && 'none' == $header_style ) {
				// Logo For None Effect.
				add_filter( 'astra_has_custom_logo', '__return_true' );
				add_filter( 'get_custom_logo', array( $this, 'none_custom_logo' ), 10, 2 );
			}
		}
			Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description | 
|---|---|
| 1.0.0 | Introduced. |