Warning: This method has been deprecated. Replaced with taxonomy instead.
WC_Query::visibility_meta_query( string $compare = 'IN' )
Returns a meta query to handle product visibility.
Description Description
Parameters Parameters
- $compare
-
(Optional) (default: 'IN').
Default value: 'IN'
Return Return
(array)
Source Source
File: includes/class-wc-query.php
public function visibility_meta_query( $compare = 'IN' ) { return array(); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |