wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_list_pluck › WordPress Function
Since3.1.0
Deprecatedn/a
› wp_list_pluck ( $input_list, $field, $index_key = null )
| Parameters: (3) |
|
| Returns: |
|
| Defined at: |
|
| Codex: | |
| Change Log: |
|
Plucks a certain field out of each object or array in an array.
This has the same functionality and prototype of array_column() (PHP 5.5) but also supports objects.