Astra_Addon_Update_Filter_Function::astra_remove_header_sections_deps_header_builder()

Remove ‘Header Sections’ addon dependency


Description


Return

(boolean) false if it is an existing user, true if not.


Source

File: classes/class-astra-addon-update-filter-function.php

	public static function astra_remove_header_sections_deps_header_builder() {
		$astra_settings = get_option( ASTRA_THEME_SETTINGS );
		$astra_settings['remove-header-sections-deps-in-new-header'] = isset( $astra_settings['remove-header-sections-deps-in-new-header'] ) ? false : true;
		return apply_filters( 'astra_remove_header_sections_dependency', $astra_settings['remove-header-sections-deps-in-new-header'] );
	}

Changelog

Changelog
Version Description
3.5.7 Introduced.


User Contributed Notes

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