Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Mathieu

Custom field radio buttons and select box

Hi!

I have a Woocommerce Custom Field : Inventory status, with 3 choices in a select box…this custom field is not made with ACF.

Can Admin Columns pro inline editing be used with a select box? I only see these choices : Default, Color, Date, Image, Media, Number, Post, Text, True / False, Url, and User.

Thanks

4 years, 8 months ago
Stefan van den Dungen Gronovius
Developer

The only way to do that is by using the following hook:
https://www.admincolumns.com/documentation/filter-reference/acp-editing-view_settings/

Have a look at the first example as this is exactly what you want to do.
The custom field column is not aware of the available options so you have to tell this column yourself which options are available by writing some code.

4 years, 8 months ago
Mathieu

Thank you! Will check it out

4 years, 8 months ago

You must be logged in to reply to this topic.