Provider::filter_where( string $where, WP_Query $wp_query )
Adds appropriate custom table mutations to the WHERE clause with our custom $wp_query object.
Contents
Parameters
- $where
-
(string) (Required) The
WHEREstatement as produced by the Custom Tables Query. - $wp_query
-
(WP_Query) (Required) A reference to the query object being filtered.
Return
(string) The filtered WHERE statement.
Source
File: src/Events_Pro/Custom_Tables/V1/WP_Query/Provider.php
public function filter_where( $where, WP_Query $wp_query ) {
return $this->noop ?
$where
: $this->container->make( Custom_Query_Filters::class )->filter_where( $where, $wp_query );
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |