Action add_user_meta passes null values
-
Hi
I’m having an issue with the output of a particular action. I have a ninja forms registration form which registers a user with custom meta data. Looking at the source code I can see it does this by calling the method ‘add_user_meta’.
This is working correctly as when I view my users in the backend they have the custom fields correctly populated.
However I also need to do a custom action after this meta data has been inserted. It’s an API call to another system. I have been trying to hook into the actions ‘add_user_meta’ and ‘added_user_meta’ however when they are called the value of $meta_key and $meta_value is always NULL.
Please can someone point me in the right direction on how to debug this?
- The topic ‘Action add_user_meta passes null values’ is closed to new replies.