Skip to content

Instantly share code, notes, and snippets.

@jchristopher jchristopher/functions.php Secret
Created Jul 17, 2018

Embed
What would you like to do?
<?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
You can’t perform that action at this time.