Skip to content

Kirby 4.4.1

A::pluck()

Plucks a single column from an array

A::pluck(array $array, string $key): array

Parameters

Name Type Default Description
$array * array The source array
$key * string The key name of the column to extract

Return type

array

Parent class

Kirby\Toolkit\A