sanitizeElementData( $data[ 'label' ], '' ); if ( !empty( $sanitizedLabel) ) { $data[ 'label' ] = $sanitizedLabel; } return $data; } }