-
-
Save bentasm1/380f1277b1176dad1ebc to your computer and use it in GitHub Desktop.
Change dashboard date range
This file contains hidden or 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 | |
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