Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( function_exists( ‘bp_follow_add_follow_button’ ) ) :
- if ( bp_loggedin_user_id() && bp_loggedin_user_id() != bp_displayed_user_id() ) {
- bp_follow_add_follow_button( array(
- ‘leader_id’ => bp_displayed_user_id(),
- ‘follower_id’ => bp_loggedin_user_id()
- ) );
- }
- endif;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement