Get_user_meta not working in custom plugin

  • Unknown's avatar

    i am using get_user_meta() function in my plugin but it is not showing any values, it is showing blank result.

    I am able to see the value present in phpmyadmin. I am using it in a plugin add_action(‘user_register’,’user_sf_lead’), but it is showing any value in my code.

    I am able get all the value of USER table but no values from USERMETA table

    When updating my user i am able to get all values.

    How to get values from get_user_meta while using action hook
    add_action(‘user_register’,’user_sf_lead’)

    Provide solution

  • Unknown's avatar

    You are in the wrong forum and need to be at WordPress.ORG.

  • The topic ‘Get_user_meta not working in custom plugin’ is closed to new replies.