Function vanilla_frontend_search_where_inject_placeholder
Injects a custom placeholder comment in the original database search SQL query. Is meant to do so in an extremely low priority (early), assuming that the query has not been manipulated by third party code so far, in order to do a best guess and mark the point where the extra custom conditions that will follow should be placed.
License:
GPLv3
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at base/vanilla-frontend-search.php
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Located at base/vanilla-frontend-search.php
Parameters summary
string |
$where |
<p>The original WHERE clause of the database search SQL query.</p> |
Return value summary
string
|
The WHERE clause of the database search SQL query, having been extended to take into account the values of each post's meta or associated taxonomy terms, as required. |