WordPress.org

Support

Support » Requests and Feedback » User/Author functions

User/Author functions

  • It would be really great to have an echo option for the_author_meta() function.
    Also, a get_authors() function which would spit back user ids and could be filtered by wp_user_level

    This way I could manage my users info on an author’s page of my blog.

Viewing 1 replies (of 1 total)
  • have the basics for get_authors() here:

    function get_authors() {
    		global $wpdb;
    			$authors = $wpdb->get_results("SELECT * from wp_usermeta WHERE meta_key = 'wp_user_level' AND meta_value != '0'");
    		return $authors;
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘User/Author functions’ is closed to new replies.