-
-
Save jchristopher/24ade9994645eca6c453ea61af002aea 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
<?php | |
// Tell Metrics to consider a session length to be one day | |
add_filter( 'searchwp_metrics_uid_expiration', function( $length ) { | |
return time() + DAY_IN_SECONDS | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment