Tribe__Customizer::get_section_url( string $section )
Returns a URL to the a specific TEC Customizer section.
Contents
Parameters
- $section
-
(string) (Required) The slug for the desired section.
Return
(string) The URL to the TEC Customizer section.
Source
File: src/Tribe/Customizer.php
public function get_section_url( $section ) {
if ( empty( $section ) ) {
return '';
}
$query['autofocus[section]'] = $section;
return add_query_arg( $query, admin_url( 'customize.php' ) );
}
Changelog
| Version | Description |
|---|---|
| 4.14.0 | Introduced. |