Warning: This method has been deprecated. Replaced with taxonomy instead.

WC_Query::stock_status_meta_query( string $status = 'instock' )

Returns a meta query to handle product stock status.


Description Description


Parameters Parameters

$status

(Optional) (default: 'instock').

Default value: 'instock'


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class-wc-query.php

	public function stock_status_meta_query( $status = 'instock' ) {
		return array();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.