Add Custom API Call to WP-Login.php

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

Leave a Reply

Your email address will not be published. Required fields are marked *