Note: You are viewing the documentation for Version 3View Version 4 Docs

Documentation

View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 2.6

searchwp_settings_before\$my_view

When displaying a SearchWP settings view, this action is fired before $my_view has been rendered.

<?php
add_action( 'searchwp_settings_before\my_view', function() {
echo 'This content is rendered before the <code>my_view</code> SearchWP settings screen is displayed';
} );
view raw functions.php hosted with ❤ by GitHub
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP