Recent

top_ten_query_posts_wherefilter

top_ten_query_posts_where

Filters the WHERE clause of Top_Ten_Core_Query.

Type: filter
Since: 3.2.0
Source: includes/class-top-ten-core-query.php line 607

Parameters

Type Name Description
string $where The WHERE clause of the Query.
Top_Ten_Core_Query $query The Top_Ten_Core_Query instance (passed by reference).

Usage

add_filter( 'top_ten_query_posts_where', function($where, $query) {
    // ...
    return $where;
} );