WordPress at Your Fingertips
function is not described

WC_Query::layered_nav_query() public WC 1.0

Deprecated from version 2.6.0 due to performance concerns. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Layered Nav post filter.

{} It's a method of the class: WC_Query{}

No Hooks.


null. Nothing.


$WC_Query = new WC_Query();
$WC_Query->layered_nav_query( $deprecated );
$deprecated(mixed) (required)


Deprecated Since 2.6.0 due to performance concerns

Code of WC_Query::layered_nav_query() WC 5.6.0

public function layered_nav_query( $deprecated ) {
	wc_deprecated_function( 'layered_nav_query', '2.6' );