{"id":871,"date":"2018-02-19T22:49:41","date_gmt":"2018-02-19T22:49:41","guid":{"rendered":"https:\/\/buddydev.com\/docs\/?p=871"},"modified":"2021-04-13T12:43:24","modified_gmt":"2021-04-13T12:43:24","slug":"modify-visibility-availability-existing-buddypress-profile-tab","status":"publish","type":"post","link":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/","title":{"rendered":"Modify the visibility and availability of the existing BuddyPress Profile Tab"},"content":{"rendered":"<p>With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab<\/p>\n<p>To make things simple, here is how we use the terms<\/p>\n<ul>\n<li>Availability:- It determines if the functionality(In our case BuddyPress tab or component) is available to the logged in user or not.<\/li>\n<li>Visibility:- It determines if the tab will be visible to the current visitor(logged or non logged in user).<\/li>\n<\/ul>\n<p>With version 1.0.4 and above, you can modify the visibility and availability of any existing profile tab.<\/p>\n<p><strong>Example:<\/strong>&#8211; Let us make the &#8216;groups&#8217; tab &#8216;friends&#8217; only:-<\/p>\n<p>Step 1:- Create a new Profile tab and set it as modifying an existing tab.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-872 size-medium\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png\" alt=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"300\" height=\"141\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-480x226.png 480w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png 504w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Note the slug. The slug determines what are we editing. In this case, we are editing user groups. We are not going to modify the label, so I am using that as a hint for you.<\/p>\n<p>Step 2:- Set the settings as enabled and check that We are modifying an existing tab.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-875 size-medium\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-2-300x207.png\" alt=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"300\" height=\"207\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-2-300x207.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-2-399x275.png 399w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-2.png 690w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Step 3:- Modify the availability. You can make it available only for a subset of your users. In this case, I am leaving it enabled for all members.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-874 size-medium\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3-300x121.png\" alt=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"300\" height=\"121\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3-300x121.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3-768x309.png 768w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3-480x193.png 480w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-3.png 801w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Step 4:- Modifying the visibility of the tab. In this option, you can select who can see the tab. I am setting it friends only.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-873 size-medium\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4-300x103.png\" alt=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"300\" height=\"103\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4-300x103.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4-768x263.png 768w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4-480x164.png 480w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-4.png 917w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>That&#8217;s all. We can now publish it and our group tab becomes friend only.<\/p>\n<p>Note:- There may be times when you may not want to change the visibility of an existing tab. In that case, please select the &#8220;Do Not Modify&#8221; option as shown below.<\/p>\n<p><a href=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-876 size-medium\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" src=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility-300x90.png\" alt=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"300\" height=\"90\" srcset=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility-300x90.png 300w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility-768x231.png 768w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility-1024x308.png 1024w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility-480x144.png 480w, https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-profile-tab-visibility.png 1075w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Hope you are enjoying the BuddyPress tab manipulation.<\/p>\n<p><strong>Complete demo for how to modify the visibility and availability for the existing BuddyPress Profile Tabs<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"Modify the visibility and availability of the existing BuddyPress Profile Tab\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/iDGF3MEmcEE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab To make things simple, here is how we use the terms Availability:- It determines if the functionality(In our case BuddyPress tab or component) is available to the logged in user or not. Visibility:- It determines if &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9309],"tags":[],"class_list":["clearfix","post-871","post","type-post","status-publish","format-standard","hentry","category-buddypress-user-profile-tabs-creator-pro"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center<\/title>\n<meta name=\"description\" content=\"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center\" \/>\n<meta property=\"og:description\" content=\"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/\" \/>\n<meta property=\"og:site_name\" content=\"BuddyDev Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-19T22:49:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-13T12:43:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png\" \/>\n<meta name=\"author\" content=\"Brajesh Singh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brajesh Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/\",\"url\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/\",\"name\":\"Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png\",\"datePublished\":\"2018-02-19T22:49:41+00:00\",\"dateModified\":\"2021-04-13T12:43:24+00:00\",\"author\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\"},\"description\":\"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.\",\"breadcrumb\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage\",\"url\":\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png\",\"contentUrl\":\"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png\",\"width\":504,\"height\":237},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/buddydev.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modify the visibility and availability of the existing BuddyPress Profile Tab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/buddydev.com\/docs\/#website\",\"url\":\"https:\/\/buddydev.com\/docs\/\",\"name\":\"BuddyDev Help Center\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/buddydev.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\",\"name\":\"Brajesh Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"contentUrl\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"caption\":\"Brajesh Singh\"},\"sameAs\":[\"http:\/\/buddydev.com\/members\/sbrajesh\/\",\"https:\/\/x.com\/sbrajesh\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center","description":"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/","og_locale":"en_US","og_type":"article","og_title":"Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center","og_description":"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.","og_url":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/","og_site_name":"BuddyDev Help Center","article_published_time":"2018-02-19T22:49:41+00:00","article_modified_time":"2021-04-13T12:43:24+00:00","og_image":[{"url":"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png","type":"","width":"","height":""}],"author":"Brajesh Singh","twitter_misc":{"Written by":"Brajesh Singh","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/","url":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/","name":"Modify the visibility and availability of the existing BuddyPress Profile Tab &#8226; BuddyDev Help Center","isPartOf":{"@id":"https:\/\/buddydev.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage"},"image":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage"},"thumbnailUrl":"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1-300x141.png","datePublished":"2018-02-19T22:49:41+00:00","dateModified":"2021-04-13T12:43:24+00:00","author":{"@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb"},"description":"With BuddyPress User Profile tabs Creator, you can easily modify the availability or the visibility of the pre-existing tab\/components.","breadcrumb":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#primaryimage","url":"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png","contentUrl":"https:\/\/buddydev.com\/docs\/files\/2018\/02\/buddypress-modify-profile-group-tab-visibility-1.png","width":504,"height":237},{"@type":"BreadcrumbList","@id":"https:\/\/buddydev.com\/docs\/buddypress-user-profile-tabs-creator-pro\/modify-visibility-availability-existing-buddypress-profile-tab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/buddydev.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Modify the visibility and availability of the existing BuddyPress Profile Tab"}]},{"@type":"WebSite","@id":"https:\/\/buddydev.com\/docs\/#website","url":"https:\/\/buddydev.com\/docs\/","name":"BuddyDev Help Center","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/buddydev.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb","name":"Brajesh Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/","url":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","contentUrl":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","caption":"Brajesh Singh"},"sameAs":["http:\/\/buddydev.com\/members\/sbrajesh\/","https:\/\/x.com\/sbrajesh"]}]}},"_links":{"self":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":7,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":2567,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/871\/revisions\/2567"}],"wp:attachment":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/media?parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/categories?post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/tags?post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}