Select Multiple Categories Under only a Parent Category

I know that there is this PHP snippet for selecting multiple categories but can it be edited to only a allow multiple categories under a parent category?
add_filter( 'hivepress/v1/forms/listing_submit', function( $form ) { if(isset($form['fields']['categories'])){ $form['fields']['categories']['multiple'] = true; } return $form; }, 1000 );

Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work

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