Provider::filter_where( string $where, WP_Query $wp_query )

Adds appropriate custom table mutations to the WHERE clause with our custom $wp_query object.


Parameters

$where

(string) (Required) The WHERE statement as produced by the Custom Tables Query.

$wp_query

(WP_Query) (Required) A reference to the query object being filtered.


Top ↑

Return

(string) The filtered WHERE statement.


Top ↑

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 );
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.