wp_dropdown_users() admin now showing
-
I’m having an issue where wp_dropdown_users() is only showing all other users except Administrators. It only shows administrators to the admins, which severely limits what I use it for (data entry in my plugin).
I have tried to play with the variables but even ‘include’ => ‘ids’ will not show the admins to non admin users, as well as ‘exclude’ => null, same thing.
Is anyone else having this issue or have a work around?
<td><?php /*calls the drop down from exisiting WP users, name is the input name id*/ wp_dropdown_users(array('name' => 'contractor1')); ?></td>
- The topic ‘wp_dropdown_users() admin now showing’ is closed to new replies.