WC_Product_Cat_List_Walker::end_el( string $output, object $cat, int $depth, array $args = array() )

Ends the element output, if needed.


Description Description

See also See also


Top ↑

Parameters Parameters

$output

(Required) Passed by reference. Used to append additional content.

$cat

(Required) Category.

$depth

(Required) Depth of category. Not used.

$args

(Optional) Only uses 'list' for whether should append to output.

Default value: array()


Top ↑

Source Source

File: includes/walkers/class-wc-product-cat-list-walker.php

	public function end_el( &$output, $cat, $depth = 0, $args = array() ) {
		$output .= "</li>\n";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.