Available since: 1.5
searchwp_admin_bar
By default, SearchWP adds an entry to the WordPress Admin Bar that includes relevant information and common actions. You can disable that entry if you’d like.
Example: To prevent the SearchWP Admin Bar entry from showing up, add the following to your active theme’s functions.php
:
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 | |
add_filter( 'searchwp_admin_bar', '__return_false' ); |