Created
June 20, 2016 14:20
-
-
Save justingreerbbi/51eae4f71d621f231f67a36f9582a9bf to your computer and use it in GitHub Desktop.
User action to overide auto authorization with grant type auth code for WP OAuth Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test_wo_authorization_code_authorize( $user_id ) { | |
exit( 'Run code to handle custom authorization instead of auto authorization ' . $user_id ); | |
} | |
add_action( 'wo_authorization_code_authorize', 'test_wo_authorization_code_authorize' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment