Filtering taxonomy results (Select2 ajax list)
I have a “taxonomy” column where the user can use inline-editing to modify tags of a post.
I would like to limit the list of tag choices according to special criteria. I mean, the list displayed by the “Select2” module, which is loaded by Ajax.
Despite a lot of research, I can’t find a solution. WordPress has a hook on “get_terms”, but the hook has no effect on the Ajax list. Actually, I’ve tried all possible hooks, none of which seem to affect the results of this query.
Do you think there is a solution?
Have a nice day
You must be logged in to reply to this topic.