WordPress.org

Support

Support » How-To and Troubleshooting » get_user_meta Function Undefined

get_user_meta Function Undefined

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get_user_meta Function Undefined’ is closed to new replies.
Skip to toolbar