• This plugin attempts to override the default author meta box, but that doesn’t seem to work any more. However, it is possible to simply filter the options for the author dropdown list like this to get the same result:

    function add_subscribers_to_dropdown( $query_args, $r ) {
        $query_args['who'] = '';
        return $query_args;
    }
    add_filter( 'wp_dropdown_users_args', 'add_subscribers_to_dropdown', 10, 2 );

    More details in the user contributed notes for the wp_dropdown_users_args filter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there
    i am trying to find an easy solution to assign a new author to an existing page.
    Is it important where to put the code snippet into the user.php @alexmansfied ?
    and i dont need the plugin anymore just this code, correct?

    Thanks !

    Thread Starter Alex Mansfield

    (@alexmansfield)

    You could either place that code in it’s own plugin, or add it to the functions.php file of your theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No longer works…but here’s a fix:’ is closed to new replies.