Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

pluck Modifier

Retrieves the values of a given key from each item.

games:
-
feeling: love
title: Dominion
-
feeling: love
title: Netrunner
-
feeling: hate
title: Chutes and Ladders
{{ games | pluck('title') }}
<?php
$plucked = Statamic::modify($games)
->pluck('title')
->fetch();
?>
games:
- Dominion
- Netrunner
- Chutes and Ladders
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →