Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 4, 2018 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/f79e9fc6590208e0e99aadb02f447e9a to your computer and use it in GitHub Desktop.
Save jchristopher/f79e9fc6590208e0e99aadb02f447e9a to your computer and use it in GitHub Desktop.
Add output before a SearchWP settings view is 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';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment