My client does not want the check box for “Open Now” to appear alongside the other options / attributes on the Search Results page. Is there a way to eliminate that. I thought there was a setting for that, but I can’t seem to locate it.
Hi,
Use this code snippet to remove it from filter:
add_filter(
'hivepress/v1/forms/listing_filter',
function( $form ) {
unset($form['fields']['_open']);
return $form;
},
1000
);
1 Like
Thanks. It worked.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.