bbp_get_user_topic_count_raw

bbp_get_user_topic_count_raw

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_user_topic_count_raw') is found 1 times:

  • /includes/users/functions.php line 650
    	$query   = $bbp_db->prepare( $sql, $user_id, bbp_get_topic_post_type() );
    	$count   = (int) $bbp_db->get_var( $query );
    
    	// Filter & return
    	return (int) apply_filters( 'bbp_get_user_topic_count_raw', $count, $user_id );
    }
    
    /**
     * Return the raw database count of replies by a user
     *
     * @since 2.1.0 bbPress (r3633)