wp_filter_object_list Wordpress function


Filters a list of objects, based on a set of key => value arguments.



(array) $list An array of objects to filter
(array) $args An array of key => value arguments to match against each object
(string) $operator The logical operation to perform. 'or' means only one element from the array needs to match; 'and' means all elements must match. The default is 'and'.
(bool|string) $field A field from the object to place instead of the entire object

Return Type:

(array) A list of objects or object fields

Define At:


Wordpress Reference URL:


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×