jeudi 1 janvier 2015

Action wp_login is not executed when an user is logged in using social auth plugin


I am using the following plugin for social authentication.


http://ift.tt/1zCn6vh


I use google and facebook login only.


I am performing certain action when user is logged in


add_action( 'wp_login', array( $this, 'wp_login' ), 10, 2 );


This action is executed when an user is logged in using username and password, however it is not executed when the user is logged in using social auth plugin.


How can i execute a function when an user is logged in using social logins using your plugin?


Is there any specific custom action that I can hook into?





Aucun commentaire:

Enregistrer un commentaire