Created
March 6, 2020 04:17
-
-
Save jchristopher/fafe1b28db0a41a08ceb25d05260a9cc 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 | |
$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