How do I know which package a user is currently on?

Here the best I could come up with, combining my old code with multi categories feature :

add_filter(
	'hivepress/v1/forms/listing_submit',
	function( $form ) {
		$current_pack = get_customer_orders_with_products(); 
		//$form['description'] = $current_pack; //for debugging 
		if(isset($form['fields']['categories'])){
			if ($current_pack =='premium-pack' || $current_pack =='pro-pack'){
				$form['fields']['categories']['multiple'] = true;
				unset( $form['fields']['categories']['attributes']['data-multistep'] );				
			} 
		}
		return $form;
	},
	1000
);

I would like therefore to edit get_customer_orders_with_products(), with
User_Listing_Package::query().

Also why it’s not possible for a user to edit a listing category afterwards ?
It does not make sense to me that you can edit pretty much everything in the listing BUT the category.

And since user select package AFTER creating the listing, the feature I would like to offer to premium users can’t be implemented (at least for the first listing).

@ihor, any idea :folded_hands: ?