Forums

Question about wp_dropdown_users().. (5 posts)

  1. virtuexru
    Member
    Posted 1 year ago #

    If I want to create a plugin that took the default arguments for this function (found in users.php) wp_dropdown_users() and sets them to something different, how would I go about doing that? Would it be a filter or an add action?

    Specifically I need to change:

    'show' => 'display_name',

    to

    'show' => 'user_login',

    in the $defaults array. I'm sure this is really simple, I just can't get the arguments to pass through my function in the plugin correctly.

    Thank you!

  2. virtuexru
    Member
    Posted 1 year ago #

    Shameless bump for help! :)

  3. virtuexru
    Member
    Posted 1 year ago #

    Anyone have experience using this function?

  4. virtuexru
    Member
    Posted 1 year ago #

    Last shameless bump for help!

  5. virtuexru
    Member
    Posted 1 year ago #

    It's Friday, maybe I'll get lucky?!

Topic Closed

This topic has been closed to new replies.

About this Topic