Created
March 11, 2017 01:34
-
-
Save JoeHana/f5855eba0c90019fad5e241ed57dc2cd to your computer and use it in GitHub Desktop.
Remove Features from Search Form
This file contains 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 | |
/** | |
* Remove Features from Search Form | |
*/ | |
add_filter( 'wpsight_get_advanced_search_fields', 'custom_get_advanced_search_fields', 10 ); | |
function custom_get_advanced_search_fields( $fields ) { | |
unset( $fields['feature'] ); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment