[ad_1]
Verified this works in the wordpress integration for logins:
// Check skip
if(defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST) { return $user; } // Skip XMLRPC
if(defined( 'REST_REQUEST' ) && REST_REQUEST) { return $user; } // Skip REST API
Thanks for the info! Will take a look into this when I work on the next update.
