Hi @jasperrooduijn
Thank you for the question.
I believe you have to make use of the array_search() function. It returns the key of the element it finds, which can be used to remove that element from the original array using unset()
The code will look something like this:
if( ($key = array_search('code' , $toolbars['Full' ][2])) !== false )
{
unset( $toolbars['Full' ][2][$key] );
}