Skip to content

Instantly share code, notes, and snippets.

@bentasm1
Forked from digitalchild/functions.php
Created November 3, 2015 22:34
Show Gist options
  • Save bentasm1/380f1277b1176dad1ebc to your computer and use it in GitHub Desktop.
Save bentasm1/380f1277b1176dad1ebc to your computer and use it in GitHub Desktop.
Change dashboard date range
<?php
add_filter('wcv_dashboard_start_date', 'dashboard_start_date' );
function dashboard_start_date() {
return '-1 week';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment