LearnDash_Settings_Section::get_section_setting_select_option_label

LearnDash_Settings_Section::get_section_setting_select_option_label( string $section = '',  string $field_key = '',  string $option_key = '' )

From a section settings you can access the label used on a select by the option key.


Description #


Parameters #

$section

(string) (Optional) Settings Section.

Default value: ''

$field_key

(string) (Optional) Settings Section field key.

Default value: ''

$option_key

(string) (Optional) Option key.

Default value: ''


Source #

File: includes/settings/class-ld-settings-sections.php