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_Footer_Builder_Design::get_section_prefix( string $section )
Get the option prefix for a footer section.
Description
Parameters
- $section
-
(string) (Required) Footer section name.
Return
(string) Option prefix.
Source
File: inc/abilities/customizer/footer/class-astra-update-footer-builder-design.php
private function get_section_prefix( $section ) {
$prefixes = array(
'above' => 'hba-footer',
'primary' => 'hb-footer',
'below' => 'hbb-footer',
);
return $prefixes[ $section ];
}
Expand full source code Collapse full source code View on Trac