Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created July 17, 2018 18:37
Show Gist options
  • Save jchristopher/425eb1ee92308eebef0c217d11c4e690 to your computer and use it in GitHub Desktop.
Save jchristopher/425eb1ee92308eebef0c217d11c4e690 to your computer and use it in GitHub Desktop.
<?php
// Customize the date picker in Metrics to have weeks start on Monday (zero-based index)
add_filter( 'searchwp_metrics_first_day_of_week', function( $start ) {
return 1;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment