Apps Ballance Chat Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Link Lock Log_Out Map Marketing Mobile_UI Navigation POS Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

How to add profile tabs to external URLs

Iain Poulson avatar
Iain Poulson Last updated on October 25, 2022

In order to create a custom link that redirects users externally, you will need a custom functionality before adding it within the profile page tabs.

Here’s an example of you can set it for your site. The link in  this example will redirect users to Google:

From the example above, you will need to change the name and the links according to what you would like to have within your site, particularly on these lines:

'name'     => esc_html( 'Google' ),
if ( 'google' === $tab ) {
		return 'https://www.google.com';
	}

You can add this

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket