Title: Adding Multiple Custom Account Tabs
Last modified: February 2, 2019

---

# Adding Multiple Custom Account Tabs

 *  [golfinred](https://wordpress.org/support/users/golfinred/)
 * (@golfinred)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/adding-multiple-custom-account-tabs/)
 * I can see that there is a plugin/option to add multple profile tabs. Now I am
   looking for a solution to do the same with the account tabs.
 * I have found this code for the function.php file
 *     ```
       /* add new tab called "mytab
       /*Original author is Ultimate Member*/
   
       add_filter('um_account_page_default_tabs_hook', 'my_custom_tab_in_um', 100 );
       function my_custom_tab_in_um( $tabs ) {
       	$tabs[800]['mytab']['icon'] = 'um-faicon-pencil';
       	$tabs[800]['mytab']['title'] = 'My Custom Tab';
       	$tabs[800]['mytab']['custom'] = true;
       	return $tabs;
       }
   
       /* make our new tab hookable */
   
       add_action('um_account_tab__mytab', 'um_account_tab__mytab');
       function um_account_tab__mytab( $info ) {
       	global $ultimatemember;
       	extract( $info );
   
       	$output = $ultimatemember->account->get_tab_output('mytab');
       	if ( $output ) { echo $output; }
       }
   
       /* Finally we add some content in the tab */
   
       add_filter('um_account_content_hook_mytab', 'um_account_content_hook_mytab');
       function um_account_content_hook_mytab( $output ){
       	ob_start();
       	?>
   
       	<div class="um-field">
   
       		<!-- Here goes your custom content -->
   
       	</div>		
   
       	<?php
   
       	$output .= ob_get_contents();
       	ob_end_clean();
       	return $output;
       } 
       ```
   
 * When I try to add multiple account tabs I get a 505 error after changing the 
   name.
 * Does anyone know the solution for this?

The topic ‘Adding Multiple Custom Account Tabs’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [golfinred](https://wordpress.org/support/users/golfinred/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/adding-multiple-custom-account-tabs/)
 * Status: not resolved