Created
June 20, 2016 15:59
-
-
Save justingreerbbi/72e67558e6f34450f2af81e878907876 to your computer and use it in GitHub Desktop.
Allow only one access token per user using filter
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_restrict_single_access_token( $restriction ){ | |
return true; | |
} | |
add_filter('wo_restrict_single_access_token', 'test_wo_restrict_single_access_token'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment