This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Astra_Update_Header_Builder::get_default_desktop_structure()

Get default desktop header structure with all zones initialized.


Description


Return

(array) Default desktop structure with all zones as empty arrays.


Source

File: inc/abilities/customizer/header/class-astra-update-header-builder.php

	private function get_default_desktop_structure() {
		return array(
			'popup'   => array(
				'popup_content' => array(),
			),
			'above'   => array(
				'above_left'         => array(),
				'above_left_center'  => array(),
				'above_center'       => array(),
				'above_right_center' => array(),
				'above_right'        => array(),
			),
			'primary' => array(
				'primary_left'         => array(),
				'primary_left_center'  => array(),
				'primary_center'       => array(),
				'primary_right_center' => array(),
				'primary_right'        => array(),
			),
			'below'   => array(
				'below_left'         => array(),
				'below_left_center'  => array(),
				'below_center'       => array(),
				'below_right_center' => array(),
				'below_right'        => array(),
			),
		);
	}


User Contributed Notes

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