Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justingreerbbi/72e67558e6f34450f2af81e878907876 to your computer and use it in GitHub Desktop.
Save justingreerbbi/72e67558e6f34450f2af81e878907876 to your computer and use it in GitHub Desktop.
Allow only one access token per user using filter
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