Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_get_member_name() shows empty in 'init' action


  • Phuc Pham
    Participant

    @svincoll4

    This code shows empty to me, how can i get the member name from ‘init’ action?

    add_action('init', 'display_member_name');
    function display_member_name(){
    echo bp_get_member_name();
    }
  • The topic ‘bp_get_member_name() shows empty in 'init' action’ is closed to new replies.
Skip to toolbar