Hi HivePress Team,
I would like to have these profile settings mandatory.
Also, would it be possible that it will show on listings - attributes (Display - Areas - Page secondary)?
Thnak you.
Hi HivePress Team,
I would like to have these profile settings mandatory.
Also, would it be possible that it will show on listings - attributes (Display - Areas - Page secondary)?
Thnak you.
Hi,
To set these profile settings mandatory, please try this PHP snippet:
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
$form['fields']['booking_offset']['required'] = true;
$form['fields']['booking_window']['required'] = true;
$form['fields']['booking_min_length']['required'] = true;
$form['fields']['booking_max_length']['required'] = true;
return $form;
},
1000
);
For the Display areas, sorry for the inconvenience, but customization is beyond our support scope - it includes fixing bugs and guidance about the available features Support Policy | HivePress
If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.