Hello, is there a way to remove tags all togheter from filter search?
I would like the vendors to have the tag options for their lists, I just dont want for the tags to appear on search filter
Hello, is there a way to remove tags all togheter from filter search?
I would like the vendors to have the tag options for their lists, I just dont want for the tags to appear on search filter
Please try this PHP snippet
add_filter(
'hivepress/v1/models/listing/attributes',
function( $attributes ) {
if ( isset( $attributes['tags'] ) ) {
$attributes['tags']['filterable'] = false;
}
return $attributes;
},
1000
);
It worked, thank you!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.