I need help with user meta data
-
add_user_meta( int $user_id, string $meta_key, mixed $meta_value, bool $unique = false )
Hello guys, I am an amateur in both WordPress and php. I am working on user meta data, I want to add user meta data that stores (number) integers to the user.php on my site.
I want the default number to be 0,
I know the above code is required but I need help with that.
And I don’t understand the $user-id part because I want the meta data for every user when they sign up
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘I need help with user meta data’ is closed to new replies.