DataStore::map_array_by_key( array $array, string $key )

Returns the same array index by a given key


Description Description


Parameters Parameters

$array

(Required) Array to be looped over.

$key

(Required) Key of values used for new array.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Orders/DataStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.