$label ) { $sanitizedLabel = $this->sanitizeElementData( $label ); if ( !empty( $sanitizedLabel ) ) { $data[ 'labels' ][ $key ] = $sanitizedLabel; } } return $data; } }