bbp_bump_user_topic_count

bbp_bump_user_topic_count

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_bump_user_topic_count') is found 1 times:

  • /includes/users/functions.php line 710
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
        $difference       = (int) $difference;
        $user_topic_count = (int) ( $count + $difference );
     
        // Add them up and filter them
        $new_count = (int) apply_filters( 'bbp_bump_user_topic_count', $user_topic_count, $user_id, $difference, $count );
     
        return bbp_update_user_topic_count( $user_id, $new_count );
    }
     
    /**
     * Bump the reply count for a user by a certain amount.