wp_list_pluck Wordpress function


Description:

Pluck a certain field out of each object in a list.


Syntax:


Arguments:

(array) $list A list of objects or arrays
(int|string) $field A field from the object to place instead of the entire object


Return Type:

(array)


Define At:

wp-includes/functions.php


Wordpress Reference URL:

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


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