Support » Plugins » get_usermeta deprecated by get_user_meta not working

  • Howdy!

    Having issues with get_user_meta() function. This doesn’t appear to work at all in my WP 3.2.1 install. The following returns absolutely nothing:

    echo get_user_meta(15,'display_name',true);

    Whereas this:

    echo get_usermeta(15,'display_name',true);

    returns the display name of user 15. My site is working right now but I’m a little concerned about functionality going forward as evidently according to the codex, get_usermeta has been deprecated in v3.0+

    My code is in the functions.php file of my theme.

    Any ideas?

  • The topic ‘get_usermeta deprecated by get_user_meta not working’ is closed to new replies.