bbp_get_non_public_child_count

bbp_get_non_public_child_count

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_non_public_child_count') is found 1 times:

  • /includes/common/functions.php line 1908
    		? bbp_number_not_negative( array_sum( array_values( $counts[ $post_type ] ) ) )
    		: 0;
    
    	// Filter & return
    	return (int) apply_filters( 'bbp_get_non_public_child_count', $child_count, $parent_id, $post_type );
    }
    
    /**
     * Query the DB and get the child id's of public children
     *
     * @since 2.0.0 bbPress (r2868)