-
-
Save searchwpgists/5078bd9d919d30adf2621a6970154dd8 to your computer and use it in GitHub Desktop.
Consider 7 days instead of 30 when displaying Statistics Dashboard Widget.
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 | |
// Consider 7 days instead of 30 when displaying Statistics Dashboard Widget. | |
add_filter( 'searchwp\admin\dashboard_widgets\statistics\days', function( $days ) { | |
return 7; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment