Add more or remove some category when edit profile

Hi, I can add more category so vendor can choose more category when they try to register using your snippet

add_filter(
	'hivepress/v1/forms/listing_submit',
	function( $form ) {
		if(isset($form['fields']['categories'])){
			$form['fields']['categories']['multiple'] = true;	
		}
		return $form;
	},
	1000
);

The problems is appear when they want to edit the profile and remove or add some or more category they can not do that, is that other snippet that can allow vendor/user to edit category?

Hi,

Unfortunately, there is no such possibility with categories.

We recommend creating a custom select attribute in Listings > Attributes and using categories for more distinct types.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.