Skip to content
No results
  • Plugins
  • Blog
  • Support
    • Forum
    • Create Support Ticket
    • Documentations
    • Affiliates
    • Join Facebook Group
  • Account
    • License keys
    • Cart
    • Checkout
    • Orders
    • Downloads
  • Search
  • PickPlugins
  • Post Gird
  • Product Slider for WooCommerce
PickPlugins logo
  • Plugins
  • Blog
  • Support
    • Forum
    • Create Support Ticket
    • Documentations
    • Affiliates
    • Join Facebook Group
  • Account
    • License keys
    • Cart
    • Checkout
    • Orders
    • Downloads
  • Search
  • PickPlugins
  • Post Gird
  • Product Slider for WooCommerce
PickPlugins logo

user_profile_filter_profile_nav_default

  • PickPluginsPickPlugins
  • May 18, 2018
  • Filter Hooks

You can set custom default active nav by filter hook.

function user_profile_filter_profile_nav_default($nav_default){

  $nav_default =  'about'; // nav index/id
  return $nav_default;

}

add_filter('user_profile_filter_profile_nav_default','user_profile_filter_profile_nav_default');

Default navs are

feed
about
followers
following

 

Documentation

Shortcodes – User Profile
  • Shortcode – user_profile
  • Shortcode – user_profile_edit
  • Shortcode – user_profile_follow_button
Action Hooks
  • user_profile_action_before_user_profile
  • Action Hook – user_profile_action_user_profile_main
  • user_profile_action_after_user_profile
  • user_profile_action_before_profile_header
  • Action Hook – user_profile_action_profile_header
  • user_profile_action_after_profile_header
  • user_profile_action_before_profile_navs
  • user_profile_action_after_profile_navs
  • user_profile_action_before_profile_content
  • user_profile_action_after_profile_content
  • user_profile_action_user_profile_edit_main
  • user_profile_action_feed_post_top
  • user_profile_action_feed_post_bottom
  • user_profile_action_update_user
Filter Hooks
  • Filter Hook – user_profile_filter_profile_navs
  • Filter Hook – user_profile_filter_user_avatar
  • Filter Hook – user_profile_user_gender
  • Filter Hook – user_profile_user_relationship
  • Filter Hook – user_profile_contact_methods
  • Filter Hook – user_profile_filter_user_name
  • user_profile_filter_profile_nav_default
FAQ – User Profile
  • How to create user profile page ?
  • How to create user profile edit page ?
  • Language Switcher for Polylang customization ?
  • How to check user profile page?

Copyright © 2025 by PickPlugins

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}