Created
December 6, 2014 11:00
-
-
Save wpmark/7e38e5114ecc153f400b to your computer and use it in GitHub Desktop.
Adding Your Own WP Front End Profile Tabs
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 wpmark_add_tab( $tabs ) { | |
/* add our tab to the tabs array */ | |
$tabs[] = array( | |
'id' => 'wpmark_tab', | |
'label' => 'Testing', | |
'tab_class' => 'testing-tab', | |
'content_class' => 'testing-content', | |
); | |
/* return all the tabs */ | |
return $tabs; | |
} | |
add_filter( 'wpfep_tabs', 'wpmark_add_tab', 30 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment