Function bkap_get_custom_posts
Modify current search by adding where clause to cquery fetching posts
Package: BKAP\Search-Widget
Author: Tyche Softwares
Since: 2.0
Hook: posts_where
Located at availability-search.php
Author: Tyche Softwares
Since: 2.0
Hook: posts_where
Located at availability-search.php
Parameters summary
string |
$where |
WHERE clause |
object |
$query |
WP_Query Object |
Return value summary
array
|
$where Return modified WHERE clause based on the searched start and end date. |