Note: This is to inform you that these snippets are around 2 years old so these might not work for everyone.

Custom Hook: BP Follow

Home / Code Snippets / Custom Hook: BP Follow

Award points for Following / Being Followed by other users. Version 1.0

This code snippet goes in your functions.php file.

  1. Gabriel, I just tried to add this to my BuddyBoss theme functions file, the theme-functions.php file in the buddyboss-inc folder, but it did nothing. Any suggestions? Thanks!


  2. Gabriel,

    I finally figured out where to place this snippet, and BP Follow did show up in the mycred hooks area. However, it came out configured a bit funny visually, and there was nothing showing up in the front end.



  3. Sadly i have the same issue as Maria.

    The layout in the admin area is messed up, and also i don’t get any credits updated when following.

  4. Hello,
    I want to try this but where is the whole code? This is all I see. The “view entire codes does not work”.
    * Register Custom myCRED Hook
    * @since 1.0
    * @version 1.0
    add_filter( ‘mycred_setup_hooks’, ‘BP_Follow_myCRED_Hook’ );

Leave a Reply

Spin to win points ?
Kindly get back to your previous orientation view... your wheel is rolling there...

Do you really like this awesome addon and wanna use on your site? click here to get it now ?
myCRED Fortune Wheel special offer unlocked!
You have a chance to win free tokens. Are you feeling lucky? Give it a spin.
* You can spin the wheel only once in a month.
* You can spin again any time by paying 500 points
* Once you pay for spin you are not able to refund it.
You must login to play mycred fortune wheel