I want to trigger an API call to another system every single time when a new user register (in real time). Therefore, I opened the wp-login.php and I was able to locate the register form but I’m not sure where to call a php function with the API call.

I tried adding a JavaScript API call but the MIME type is not allowed and therefore blocked.

Where do I have to inject the API call in php?

Thank you

Read more here: Add Custom API Call to WP-Login.php


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: