BuddyDev

Search

BuddyCircles shortcode

Tagged: ,

  • Participant
    Level: Enlightened
    Posts: 38
    damland on #29636

    Hello,

    is there a shortcode or a function that I use to show the “Add to circles” button inside the blog posts (to add the author to my circles)?

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #29637

    Hi,
    No, there is no shocrtcode for this purpose currently.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 38
    damland on #29639

    Hi @sbrajesh what function I can use to do so?
    To add him as friend for example I use bp_add_friend_button( $user_id );

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #29646

    Hello Damland,

    Please check “friends_add_friend” function to add a friend. It also allows to add friend forcefully.

    Regards
    Ravi

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #29652

    Hi,
    The function is

    
    bcircles_add_to_circle_button($user_id)
    

    where user id should be post author id.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved