Posted: August 20, 2018 at 10:35 am
https://iclega-attend.org/clean-up-custom-field-dropdown/ How do I clean up the garbage in the “custom drop down list”. Looks like lots of stuff got into it from trying out new plugins… |
|
Hi, You’ll find a well-written guide on that subject here: https://wpsites.net/wordpress-admin/2-ways-to-delete-custom-fields-from-post-meta-tables/ |
|
Thanks! |
|
The plug in appears to remove data but the dropdown remains with the same custom values in it. |
|
Hi, This is a bit outside of the scope of Event Espresso plugin support, but here goes: The WordPress custom field meta box pulls the dropdown select options from your site’s _postmeta table. So if you go into phpmyadmin and look in the _postmeta table, then look at values for the meta_key column, you’ll find them there. |
|
At first I did not see a _postmeta table. |
|
Hi, I just about have this under control but I think there is a small conflict with another EE plugin. There is a dropdown item in the custom fields called “ee_wpuser_integration_settings”. I am using this plugin. Should I be concerned about clearing those values out of the database to clean up the dropdown menu? Thanks again, I appreciate you going above and beyond what is considered support. I am not totally aware of the weirdness that plugins seem to bring to dropdown values and the like because I am not as familiar with WordPress as I would like. |
|
If you’re using the WP User integration add-on I would advise to not delete that meta key. It’s actually used to store options on a per-event-basis. |
|
Oh that is very ugly. Data architecture matters. I will not touch it. How do I find out where other randomly appearing values come from which find their way into that custom field dropdown? |
|
It will help to understand they are not randomly appearing. Something added them with values to the _postmeta table to store data. You can view the _postmeta table in the database and check the meta_value for the row first. The value might shed some light about what was saved. Then you can also check the post_id for the row, then go to edit the post in the WP admin to get some context about the post and why there’s post meta values saved for that post. |
|
The support post ‘custom field dropdown list management’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.