This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* override output of author drop down to include ALL user roles | |
*/ | |
add_filter('wp_dropdown_users', 'include_all_users'); | |
function include_all_users($output) | |
{ | |
//set the $post global for checking user against author | |
global $post; | |
$users = get_users(); |