bbp_get_public_child_count

bbp_get_public_child_count

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_public_child_count') is found 1 times:

  • /includes/common/functions.php line 1858
    1854
    1855
    1856
    1857
    1858
    1859
    1860
    1861
    1862
    1863
    1864
            ? bbp_number_not_negative( array_sum( array_values( $counts[ $post_type ] ) ) )
            : 0;
     
        // Filter & return
        return (int) apply_filters( 'bbp_get_public_child_count', $child_count, $parent_id, $post_type );
    }
    /**
     * Query the DB and get a count of public children
     *
     * @since 2.0.0 bbPress (r2868)
     * @since 2.6.0 bbPress (r5954) Replace direct queries with WP_Query() objects