public function render_items( $trail ) {
		$items_output = array();
		$counter      = 0;
		$all_items    = $trail->get_flat_items();

		foreach ( $all_items as $item ) {
			// Allow each item to be filtered right before rendering.
			$item = apply_filters( 'carbon_breadcrumbs_item', $item, $trail, $this, $counter );

			// Skip if $item is not a Carbon_Breadcrumb_Item instance.
			if ( ! ( $item instanceof Carbon_Breadcrumb_Item ) ) {
				continue;
			}

			// Increase the counter and render the item.
			$counter++;
			$item_renderer  = new Carbon_Breadcrumb_Item_Renderer( $item, $trail, $this, $counter );
			$items_output[] = $item_renderer->render();
		}

		return $items_output;
	}