Meta Box
Support › General › Select Boxes
Hi
I am wanting to create a Select Box using a function to get the select options, is this possible?
array( 'name' => __( 'Select', 'textdomain' ), 'id' => 'select_simple', 'type' => 'select', 'options' => $sliders, ),
The code above is what I am currently using and $sliders is the variable which holds the options but they are not coming through
Yes, it's possible, please check your $sliders variable, it should be an array.
$sliders
Cheers!