Created
July 20, 2015 19:33
-
-
Save kstover/84500804fa23d74035cb to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* Force the cookie expiration variant time to 23 minutes | |
* | |
* @access public | |
* @since 2.9.18 | |
* @param int $exp Default expiration (1 hour) | |
* @return int | |
*/ | |
public function set_expiration_variant_time( $exp ) { | |
return 60 * 23; | |
} | |
/** | |
* Force the cookie expiration time to 24 minutes | |
* | |
* @access public | |
* @since 2.9.18 | |
* @param int $exp Default expiration (1 hour) | |
* @return int | |
*/ | |
public function set_expiration_time( $exp ) { | |
return 60 * 24; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment