Astra_Builder_Helper::deprecate_old_header_and_footer( array $args )
Deprecate Header Sections, Mobile Headers, Footer Widgets for new users and migrated users.
Description
Parameters
- $args
-
(array) (Required) The arguments as per the filter.
Return
(array) $args Updated arguments as per the filter.
Source
File: inc/core/builder/class-astra-builder-helper.php
public function deprecate_old_header_and_footer( $args ) { if ( self::$is_header_footer_builder_active ) { unset( $args['mobile-header'] ); unset( $args['header-sections'] ); unset( $args['advanced-footer'] ); } return $args; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |