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_Design::get_section_id( string $section )

Get the section ID for a header section.


Description


Parameters

$section

(string) (Required) Section name (above, primary, below).


Return

(string) Section ID.


Source

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

	private function get_section_id( $section ) {
		$section_ids = array(
			'above'   => 'section-above-header-builder',
			'primary' => 'section-primary-header-builder',
			'below'   => 'section-below-header-builder',
		);
		return $section_ids[ $section ];
	}


User Contributed Notes

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