Update specific structure field

Example using Starterkit social field:

$structure = $page->social()->yaml();
$item = $structure[0];
$item['platform'] = 'New Value';
$structure[0] = $item;

dump($structure);
1 Like