bp_user_has_access

  • apply_filters( 'bp_user_has_access', $has_access )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 704
      				$bp->{$component}->root_slug == $root_slug )
      			return $bp->{$component}->name;
      
      	return false;
      }
      
      function bp_user_has_access() {
      	$has_access = ( is_super_admin() || bp_is_my_profile() ) ? true : false;
      
      	return apply_filters( 'bp_user_has_access', $has_access );
      }
      
      /**
       * Output the search slug
       *
       * @package BuddyPress
       * @since 1.5
       *
       * @uses bp_get_search_slug()
       */
      

Comments are closed.