Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justingreerbbi/3f60aab604c70d2fc688d642e5d5c704 to your computer and use it in GitHub Desktop.
Save justingreerbbi/3f60aab604c70d2fc688d642e5d5c704 to your computer and use it in GitHub Desktop.
Do Action Hook for WP OAuth Server Client for User Creation or Login.
Plugin: Simple Single Sign On
Plugin File: /includes/callback.php
/*
* Action runs directly after a default user is created
*/
do_action( 'wpoc_user_created', $user_info, 1 );
/*
* Action runs directly before a user is logged in
*/
do_action( 'wpoc_user_login', $user_info, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment