Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Specify which users should show up in Edit Flow user lists.
- add_filter( 'ef_users_select_form_get_users_args', function( $args ) {
- unset( $args['who'] );
- $args['role__in'] = array( 'administrator', 'editor', 'author' );
- return $args;
- } );
Add Comment
Please, Sign In to add comment