get_user_meta Function Undefined (2 posts)

  1. WebTechGlobal
    Posted 5 years ago #

    According to this blog this function...


    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
    Posted 5 years ago #

    get_user_meta is a version 3.0 function.

Topic Closed

This topic has been closed to new replies.

About this Topic