How to add new tab in UsersWP account page in WordPress?

   add_filter('uwp_account_available_tabs', 'wpcs_uwp_account_available_tabs_cb', 10);
   function wpcs_uwp_account_available_tabs_cb($tabs){
      $tabs['custom-link'] = array(
         'title' => __('Custom Link', 'userswp'),
         'icon' => 'fas fa-link',
         'link' => 'https://www.wpcodesnippets.in/',
      );
      return $tabs;
   }

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This