You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
I am not even sure if this is going to be possible, but I would like to dynamically populate a multi select option. The get_race_simple function create a multi-dimensional array which shows up fine in the admin panel, but it wont save anything I select.
'title' => __( 'Map Settings', 'bpc-elections' ),
'description' => __( '<p></p>', 'bpc-elections' ),
'fields' => array(
array(
'id' => 'racemap_selections',
'label' => __( 'Map Topper', 'bpc-elections' ),
'description' => __( 'Choose which question are available in the race map.', 'bpc-elections' ),
'type' => 'checkbox_multi',
'options' => get_races_simple(),
)
)
);
The text was updated successfully, but these errors were encountered:
I am not even sure if this is going to be possible, but I would like to dynamically populate a multi select option. The get_race_simple function create a multi-dimensional array which shows up fine in the admin panel, but it wont save anything I select.
The text was updated successfully, but these errors were encountered: