Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7658, comment 6


Ignore:
Timestamp:
01/18/2018 04:47:36 PM (3 years ago)
Author:
dcavins
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7658, comment 6

    initial v1  
    1717}}}
    1818
    19 Similarly, to fetch the current user's display name (fullname), we could use `get_the_author_meta( 'display_name', get_current_user_id() )`. (I'm assuming that these values are cached by WP.)
     19Similarly, to fetch the current user's display name (fullname), we could use `get_the_author_meta( 'display_name', get_current_user_id() )`. (I'm assuming that these values are cached by WP. Edit: They are--everything boils down to `WP_User::get_data_by` which uses the user cache.)
    2020
    2121The exception I believe is the domain, which is calculated by BP.