The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

User/Author functions (2 posts)

  1. Jack Reichert
    Posted 6 years ago #

    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.

  2. Jack Reichert
    Posted 6 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.