Last active
April 29, 2020 12:49
-
-
Save jchristopher/d81f5e5781b43d6bfa661944cb00e5c5 to your computer and use it in GitHub Desktop.
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 | |
// Retrieve the most commmon searches for the | |
// Default engine from the past thirty days. | |
$statistics = \SearchWP\Statistics::get_popular_searches( [ | |
'days' => 30, | |
'engine' => 'default', | |
] ); | |
// Display the results in a <table>. | |
\SearchWP\Statistics::display( $statistics ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment