Astra_Sticky_Header_Configs::is_header_section_active()

Is Header Section addon active.


Description

Decide if the Above & Below option should be visible in Sticky Header depending on Header Section addon.


Return

(boolean) True - If the option should be displayed, False - If the option should be hidden.


Source

File: addons/sticky-header/classes/sections/class-astra-sticky-header-configs.php

		public static function is_header_section_active() {
			$status = false;
			if ( Astra_Ext_Extension::is_active( 'header-sections' ) || true === astra_addon_builder_helper()->is_header_footer_builder_active ) {
				$status = true;
			}
			return $status;
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.