bp_get_member_name() shows empty in 'init' action
-
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.