Automattic\WooCommerce\Blocks

QueryFilters::init()publicWC 1.0

Initialization method.

Method of the class: QueryFilters{}

No Hooks.

Return

null. Nothing (null).

Usage

$QueryFilters = new QueryFilters();
$QueryFilters->init();

QueryFilters::init() code WC 8.9.0

public function init() {
	add_filter( 'posts_clauses', array( $this, 'main_query_filter' ), 10, 2 );
}