bp_get_current_profile_group_id

  • apply_filters( 'bp_get_current_profile_group_id', $profile_group_id )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 782
      	}
      
      function bp_current_profile_group_id() {
      	echo bp_get_current_profile_group_id();
      }
      	function bp_get_current_profile_group_id() {
      		if ( !$profile_group_id = bp_action_variable( 1 ) )
      			$profile_group_id = 1;
      
      		return apply_filters( 'bp_get_current_profile_group_id', $profile_group_id ); // admin/profile/edit/[group-id]
      	}
      
      function bp_avatar_delete_link() {
      	echo bp_get_avatar_delete_link();
      }
      	function bp_get_avatar_delete_link() {
      		global $bp;
      
      		return apply_filters( 'bp_get_avatar_delete_link', wp_nonce_url( $bp->displayed_user->domain . $bp->profile->slug . '/change-avatar/delete-avatar/', 'bp_delete_avatar_link' ) );
      	}
      

Comments are closed.