Astra_Addon_Update_Filter_Function::astra_addon_restrict_banner_area_with_page_header()
Restrict banner area with page header.
Description
Return
(bool) false if it is an existing user, true if not.
Source
File: classes/class-astra-addon-update-filter-function.php
public static function astra_addon_restrict_banner_area_with_page_header() {
$astra_settings = get_option( ASTRA_THEME_SETTINGS, array() );
$astra_settings['restrict-banner-layout-with-page-header'] = isset( $astra_settings['restrict-banner-layout-with-page-header'] ) ? false : true;
return apply_filters( 'astra_addon_page_header_with_banner', $astra_settings['restrict-banner-layout-with-page-header'] );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 4.6.1 | Introduced. |