Created
September 11, 2017 14:08
-
-
Save robertuniqid/dda196f3830691d7b650b39a07fbafce to your computer and use it in GitHub Desktop.
wpep-user-profile-test-tabs.php
This file contains hidden or 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 | |
add_filter( 'wpep_content_user_profile_tab_list', function( $tab_list ) { | |
for( $i = 1; $i <= 10 ; $i++ ) | |
$tab_list['demo_tab_' . $i ] = [ | |
'title' => 'Demo Tab ' . $i, | |
'content' => 'Demo Tab Content - ' . $i, | |
]; | |
return $tab_list; | |
}, 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment