Docs: Improve accuracy of wp_list_sort()
’s $list
parameter description.
Props manikmist09. Fixes #45766. git-svn-id: https://develop.svn.wordpress.org/trunk@44480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cd100a117d
commit
559056f62f
@ -3967,7 +3967,7 @@ function wp_list_pluck( $list, $field, $index_key = null ) {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param array $list An array of objects to filter.
|
||||
* @param array $list An array of objects to sort.
|
||||
* @param string|array $orderby Optional. Either the field name to order by or an array
|
||||
* of multiple orderby fields as $orderby => $order.
|
||||
* @param string $order Optional. Either 'ASC' or 'DESC'. Only used if $orderby
|
||||
|
Loading…
Reference in New Issue
Block a user