access object json data post after create_user trigger
-
can someone help me, i want to access the value after trigger create_user
i have url in WP webhooks like this.
https://localhost/api/call.php
once new user register, i want to put his email in txt file.
call.php file$data = json_decode( file_get_contents('php://input'), true); $email = $data->data->email; $file = "emails.txt"; file_put_contents($file, $email);
i think $data->data->email is null, how to get data, i tried also foreach but not working.. any help?
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘access object json data post after create_user trigger’ is closed to new replies.