From 27ccbb591cd4a06629f4ba0c7f84df05c56b9c76 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Dec 2015 00:36:12 +0000 Subject: [PATCH] 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 --- src/wp-includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index c245af9928..be0113254e 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3287,7 +3287,8 @@ function wp_is_numeric_array( $data ) { * against each object. Default empty array. * @param string $operator Optional. The logical operation to perform. 'or' means * 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. * Default false. * @return array A list of objects or object fields.