Skip to:
Content
Pages
Categories
Search
Top
Bottom

User full name function

  • Avatar of Sdq80
    sdq80
    Participant

    @sdq80

    Anyone know how to get the user full name in the home page, I tried bp_get_profile_header() function but I’m getting nothing to be displayed, any idea?

    BR

    SDQ

Viewing 2 replies - 1 through 2 (of 2 total)
  • global $userdata;
    get_currentuserinfo();
    bp_fetch_user_fullname( $userdata->ID, true ); // true = echo / false = return

    Avatar of Sdq80
    sdq80
    Participant

    @sdq80

    Thanks PreS I managed it:

    bp_core_get_userlink($post->post_author)

    ****Post Closed****

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘User full name function’ is closed to new replies.