Created
March 30, 2017 21:04
-
-
Save Gamewalker/2f1f800130a80c99819d821b2c058e66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| require($_SERVER['DOCUMENT_ROOT'].'/wp-load.php'); | |
| //require($_SERVER['DOCUMENT_ROOT'].'/wp-content/plugins/ultimate-member/core/um-user.php'); | |
| $blogusers = get_users('role=Administrator'); | |
| foreach ( $blogusers as $user ) { | |
| echo '<span>' . esc_html( $user->display_name ) . '</span><br/>'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment