While search is one of the most important features on one’s website, but sometimes you simply don’t want it. If this is what you want, then here I got one solution for you. On using it, you will be able to completely shut down WordPress search. Copy and paste the following snippet in your theme’s functions.php file and you are done.

Snippet Source/Credit: WPEngineer