Ticket #31316: 31316.3.diff
File 31316.3.diff, 873 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/functions.php
3172 3172 * @param int|string $field Field from the object to place instead of the entire object 3173 3173 * @param int|string $index_key Optional. Field from the object to use as keys for the new array. 3174 3174 * Default null. 3175 * @return array Array of found values. If $index_key is set, an array of found values with keys 3175 * @return array Array of found values. If $list is an indexed array, a corrospondingly indexed 3176 * array of found values. If $index_key is set, an array of found values with keys 3176 3177 * corresponding to $index_key. 3177 3178 */ 3178 3179 function wp_list_pluck( $list, $field, $index_key = null ) {