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_view\$my_view

This action is responsible for rendering the SearchWP settings view content when displaying a SearchWP settings screen.

<?php
add_action( 'searchwp_settings_view\my_view', function() {
echo 'This is the view named <code>my_view</code>.';
} );
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