Astra_Builder_Admin::update_customizer_header_footer_link( array $args )

Update Customizer Header Footer quick links from options page.


Description


Parameters

$args

(array) (Required) default Header Footer quick links.


Return

(array) updated Header Footer quick links.


Source

File: inc/core/builder/class-astra-builder-admin.php

	public function update_customizer_header_footer_link( $args ) {
		if ( isset( $args['header']['quick_url'] ) ) {
			$args['header']['quick_url'] = admin_url( 'customize.php?autofocus[panel]=panel-header-builder-group' );
		}
		if ( isset( $args['footer']['quick_url'] ) ) {
			$args['footer']['quick_url'] = admin_url( 'customize.php?autofocus[panel]=panel-footer-builder-group' );
		}
		return $args;
	}

Changelog

Changelog
Version Description
3.0.0 Introduced.

User Contributed Notes

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