Метод | Описание | |
---|---|---|
adjust_search_filter ( array $query ) : void | Excludes posts from search with certain metadata. | |
get_excluded_search_ids ( ) : array | Fetches posts with exclude_local_search option on | |
search_filter ( array $query ) : void | Fetches posts with exclude_local_search option on. |
Метод | Описание | |
---|---|---|
__construct ( ) | Constructor, loads parent constructor and adds filters. |
protected __construct ( ) |
public adjust_search_filter ( array $query ) : void | ||
$query | array | The possible search query. |
Результат | void | Early if no search query is found. |
public get_excluded_search_ids ( ) : array | ||
Результат | array | Excluded Post IDs |
public search_filter ( array $query ) : void | ||
$query | array | The possible search query. |
Результат | void | Early if no search query is found. |