How to dynamically remove data from field dropdown
-
Hello Everyone,
I use signup fields from buddypress on my registration site.
I have a dropdown box field that I can with php populate data onto it with the use of the action xprofile_insert_field() which with an array can add data to the dropdown box by its parent id.
I would like to do the exact opposite, i.e., having a parent id (dropdown box) delete data from it, but I can’t seem to find the proper action to it. The xprofile_delete_field only takes an id and would delete the entire dropdown box…
Any ideas?
- You must be logged in to reply to this topic.