sabine
July 16, 2024, 11:21am
1
Hi,
I use this snippet so that it is possible to select several categories. It always worked but not it isn`t working any more. How can I solve it so that it is possible to select more than 1 category?
add_filter(
'hivepress/v1/forms/listing_submit',
function( $form ) {
if(isset($form['fields']['categories'])){
$form['fields']['categories']['multiple'] = true;
}
return $form;
},
1000
);
Best regards,
Sabine
sabine
July 16, 2024, 11:29am
2
User can choose several categories in the frontend but in the backend it is only possible to choose one.
andrii
July 17, 2024, 9:29am
4
Hi,
Please check this topic: Add multiple category selection support to the back-end form
āI hope this is helpful to you.
1 Like
system
Closed
August 16, 2024, 9:29am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.