Tribe__Customizer__Section::get_setting_link( string $setting, string $link_text )
Sugar function that returns the results of Tribe__Customizer->get_settings_url() for the specified setting in the _current section_.
Contents
Parameters
- $setting
-
(string) (Required) The setting "slug" to link to.
- $link_text
-
(string) (Required) The translated text for the link.
Return
(string) The HTML anchor element, linking to the TEC Customizer setting.
Source
File: src/Tribe/Customizer/Section.php
public function get_setting_link( $setting, $link_text ) {
return tribe( 'customizer' )->get_setting_link( $this->ID, $setting, $link_text );
}
Changelog
| Version | Description |
|---|---|
| 4.14.0 | Introduced. |