Created
February 20, 2023 20:08
-
-
Save hivepress/e840962b46d2b82b3a4340435773f483 to your computer and use it in GitHub Desktop.
Remove the price range search filter for listings #hivepress #marketplace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_filter( | |
| 'hivepress/v1/forms/listing_filter', | |
| function( $form ) { | |
| unset($form['fields']['price']); | |
| return $form; | |
| }, | |
| 1000 | |
| ); |
Author
Sorry, this would require further customizations - if you have premium support with us please post a new topic here https://community.hivepress.io/ We can provide general guidance for developers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And in case we wish to have a different Label | Description for different Categories for the Primary Fields like Price | Title | Description in the Search Form & Filters, how can this be done ?