Created
June 17, 2015 16:15
-
-
Save jchristopher/544184b2605b9db9f441 to your computer and use it in GitHub Desktop.
Output a nav item in SearchWP's settings
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 | |
function my_searchwp_settings_nav_tab() { | |
searchwp_get_nav_tab( array( | |
'tab' => 'my_settings', | |
'label' => __( 'My Settings', 'searchwp' ), | |
) ); | |
} | |
add_action( 'searchwp_settings_nav_tab', 'my_searchwp_settings_nav_tab', 200 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment