Support » Plugin: Author Image » create a non echo version

  • Resolved Ash

    (@ashmetry)


    In the code you only have

    function the_author_image($author_id = null) {
    	echo author_image::get($author_id, null);
    }

    You should add

    function get_author_image($author_id = null) {
    	return author_image::get($author_id, null);
    }

    Where I need it, I want to return a string. I’m not ready for it to echo yet.

    https://wordpress.org/plugins/sem-author-image/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘create a non echo version’ is closed to new replies.