Changeset 31451
- Timestamp:
- 02/13/2015 04:51:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r31212 r31451 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 3176 * corresponding to $index_key. 3175 * @return array Array of found values. If `$index_key` is set, an array of found values with keys 3176 * corresponding to `$index_key`. If `$index_key` is null, array keys from the original 3177 * `$list` will be preserved in the results. 3177 3178 */ 3178 3179 function wp_list_pluck( $list, $field, $index_key = null ) {
Note: See TracChangeset
for help on using the changeset viewer.