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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.