wp_list_pluck

$foods = array(
    array(
        'name'  => 'Banana',
        'color' => 'Yellow',
    ),
    array(
        'name'  => 'Apple',
        'color' => 'Red',
    )
);
	
$food_names = wp_list_pluck( $foods, 'name' );

print_r($food_names);

// [ 'Banana', 'Apple']

Energetic Emu