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_prefix( string $section )

Get the option prefix for a header section.


Description


Parameters

$section

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


Return

(string) Option prefix.


Source

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

	private function get_section_prefix( $section ) {
		$prefixes = array(
			'above'   => 'hba-header',
			'primary' => 'hb-header',
			'below'   => 'hbb-header',
		);
		return $prefixes[ $section ];
	}


User Contributed Notes

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