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