Created
June 20, 2016 15:08
-
-
Save justingreerbbi/658295550b60cde3e3f25ee6348eba30 to your computer and use it in GitHub Desktop.
Override default auth code lifetime
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_auth_code_lifetime( $auth_code_lifetime ){ | |
return 60; // seconds | |
} | |
add_filter( 'wo_auth_code_lifetime', 'test_wo_auth_code_lifetime' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment