Skip to:
Content
Pages
Categories
Search
Top
Bottom

how can i get a member’s id

  • Profile photo of ankurm
    ankurm
    Member

    @ankurm

    I am running a loop and fetching ids of all the members using this function
    bp_member_user_id();
    but this function echos the id.. How can i store the id of the member in a variable?

Viewing 1 replies (of 1 total)
  • Profile photo of ankurm
    ankurm
    Member

    @ankurm

    i found what i needed.. the function which i was searching for was
    bp_get_member_user_id();
    :D

Viewing 1 replies (of 1 total)
  • The topic ‘how can i get a member’s id’ is closed to new replies.
Skip to toolbar