wp_filter_object_list Wordpress function


Description:

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


Syntax:


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:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_filter_object_list


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