-
-
Save searchwpgists/fb25a9d4201b4b4840802e88e1375e91 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 | |
// @link https://searchwp.com/documentation/classes/searchwp-query/ | |
$search = new \SearchWP\Query( 'coffee', [ | |
'engine' => 'supplemental', | |
'per_page' => -1, | |
'fields' => 'all', | |
] ); | |
$results = $search->results; // Array of results. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment