wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_list_pluck › WordPress Function
Depuis3.1.0
Dépréciéen/a
› wp_list_pluck ( $input_list, $field, $index_key = null )
Paramètres: (3) |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: | |
Changelog: |
|
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.