bbp_get_user_profile_url

  • apply_filters( 'bbp_get_user_profile_url', $url, $user_id, $user_nicename )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-template.php :: Trac Source Line: 285
      			$url = str_replace( '%' . $bbp->user_id . '%', $user_nicename, $url );
      			$url = home_url( user_trailingslashit( $url ) );
      
      		// Unpretty permalinks
      		} else {
      			$url = add_query_arg( array( $bbp->user_id => $user_id ), home_url( '/' ) );
      		}
      
      		return apply_filters( 'bbp_get_user_profile_url', $url, $user_id, $user_nicename );
      
      	}
      
      /**
       * Output link to the profile edit page of a user
       *
       * @since bbPress (r2688)
       *
       * @param int $user_id Optional. User id
       * @uses bbp_get_user_profile_edit_link() To get user profile edit link
      

Comments are closed.