Browse: Home / Classes / LearnDash_Settings_Metabox_Coupon_Settings /

LearnDash_Settings_Metabox_Coupon_Settings::map_multiselect_field_data

LearnDash_Settings_Metabox_Coupon_Settings::map_multiselect_field_data( string $field,  string $post_type_key,  array $available_select_options,  string $default_label )

Maps data for the multiselect field.


Description #


Parameters #

$field

(string) (Required) Field jey.

$post_type_key

(string) (Required) Post type key: course|group.

$available_select_options

(array) (Required) Available items from the database.

$default_label

(string) (Required) Default select option label.


Return #

(array)


Source #

File: includes/settings/settings-metaboxes/class-ld-settings-metabox-coupon-settings.php


Changelog #

Changelog
Version Description
4.1.0 Introduced.