Reference

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

Source code

kirby/src/Toolkit/A.php#L190