WC_Query::remove_posts_where()publicWC 1.0

Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. Use search_post_excerpt() is deprecated instead.

Remove the posts_where filter.

Method of the class: WC_Query{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Query = new WC_Query();
$WC_Query->remove_posts_where();

Changelog

Deprecated since 3.2.0 - Nothing to remove anymore because search_post_excerpt() is deprecated.

WC_Query::remove_posts_where() code WC 8.7.0

public function remove_posts_where() {
	wc_deprecated_function( 'WC_Query::remove_posts_where', '3.2.0', 'Nothing to remove anymore because search_post_excerpt() is deprecated.' );
}