WordPress.org

Ready to get started?Download WordPress

Forums

get_user_meta Function Undefined (2 posts)

  1. WebTechGlobal
    Member
    Posted 4 years ago #

    According to this blog this function...

    http://codex.wordpress.org/Function_Reference/get_user_meta

    Replaces get_usermeta however when using the new function it causes an error, when using the old function it does not return a value it only returns false. I've been testing it for hours trying to figure it out and I'm almost convinced theres a core issue or not enough information about obtaining values from a users meta data.

    To be clear, this causes undefined function error...

    get_user_meta($_POST['wcm_customer_submit'], 'wcm_pointsbalance');

    and this does not...

    get_usermeta($_POST['wcm_customer_submit'], 'wcm_pointsbalance');

    In version 2.9.2

  2. MichaelH
    Member
    Posted 4 years ago #

    get_user_meta is a version 3.0 function.

Topic Closed

This topic has been closed to new replies.

About this Topic