Docs: Clarify that wp_filter_object_list()
accepts 'not'
as its $operator
parameter.
Props barryceelen. See #35225. git-svn-id: https://develop.svn.wordpress.org/trunk@36090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bc01ead655
commit
27ccbb591c
@ -3287,7 +3287,8 @@ function wp_is_numeric_array( $data ) {
|
|||||||
* against each object. Default empty array.
|
* against each object. Default empty array.
|
||||||
* @param string $operator Optional. The logical operation to perform. 'or' means
|
* @param string $operator Optional. The logical operation to perform. 'or' means
|
||||||
* only one element from the array needs to match; 'and'
|
* only one element from the array needs to match; 'and'
|
||||||
* means all elements must match. Default 'and'.
|
* means all elements must match; 'not' means no elements may
|
||||||
|
* match. Default 'and'.
|
||||||
* @param bool|string $field A field from the object to place instead of the entire object.
|
* @param bool|string $field A field from the object to place instead of the entire object.
|
||||||
* Default false.
|
* Default false.
|
||||||
* @return array A list of objects or object fields.
|
* @return array A list of objects or object fields.
|
||||||
|
Loading…
Reference in New Issue
Block a user