How do you all handle the issues w/ wp_dropdown_user when having thousands of users?
12:23pm Aug 6th 2014 view on twitter
Comments are closed.
@Jtsternberg build it in the background and cache the result. Full HTML cache in a transient
@jtsternberg having the same issue over here with an ACF relationship field with 14k posts.
@Jtsternberg Don’t use wp_dropdown_user. Grab the data another way, and do an autocomplete field instead, like Network -> add user to site.
@Jtsternberg possible to shoehorn in something like Select2?
@Jtsternberg You don’t. Unless you want to kill your site.
@Jtsternberg build it in the background and cache the result. Full HTML cache in a transient
@jtsternberg having the same issue over here with an ACF relationship field with 14k posts.
@Jtsternberg Don’t use wp_dropdown_user. Grab the data another way, and do an autocomplete field instead, like Network -> add user to site.
@Jtsternberg possible to shoehorn in something like Select2?
@Jtsternberg You don’t. Unless you want to kill your site.