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'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.5.7 | Introduced. |