Display an array in a custom meta box select field
-
I’m trying to create a select field that displays all of the images in a directory. I’m using cusotm metaboxes to display the select box in the backend. I can generate an array of all the images in the directory, I just don’t know how to get the values from that array into select options. here’s my code:
[Code moderated as per the Forum Rules. Please use the pastebin]
Any thoughts or help would be greatly appreciated.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Display an array in a custom meta box select field’ is closed to new replies.