Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Bought Jack McDade's course on design. Going through it now...and it is SO well done!

— Justin Jackson, Transistor.fm

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 →