Title: Dynamically populate select options
Last modified: August 21, 2016

---

# Dynamically populate select options

 *  [Ross Wintle](https://wordpress.org/support/users/magicroundabout/)
 * (@magicroundabout)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/dynamically-populate-select-options/)
 * Hi there,
 * I’m scanning the source code at the mo, but wondering if someone has a solution
   to save me some work.
 * I want to have different values for a select box depending on the post_id.
 * There’s various filters in the code, but I can’t find one for filtering select
   values when displaying. I think I could probably hook to rwmb_{$id}_html but 
   that’s a little clunky.
 * Any thoughts on how to do this?
 * Thanks
 * [http://wordpress.org/plugins/meta-box/](http://wordpress.org/plugins/meta-box/)

The topic ‘Dynamically populate select options’ is closed to new replies.

 * ![](https://ps.w.org/meta-box/assets/icon-128x128.png?rev=1100915)
 * [Meta Box](https://wordpress.org/plugins/meta-box/)
 * [Support Threads](https://wordpress.org/support/plugin/meta-box/)
 * [Active Topics](https://wordpress.org/support/plugin/meta-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meta-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meta-box/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ross Wintle](https://wordpress.org/support/users/magicroundabout/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/dynamically-populate-select-options/)
 * Status: not resolved