Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output

This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags. Class Walker_Category is defined in /wp-includes/category-template.php. Class Walker is defined in /wp-includes/class-wp-walker.php.

package Media Library Assistant
since 1.80

 Methods

Ends the element output, if needed.

end_el(string $output, object $category, int $depth, array $args) 

see \global\Walker::end_el()
since 1.80

Parameters

$output

string

Passed by reference. Used to append additional content.

$category

object

The current term object.

$depth

int

Depth of the term in reference to parents. Default 0.

$args

array

An array of arguments. @see wp_terms_checklist()

Start the element output.

start_el(string $output, object $taxonomy_object, int $depth, array $args, int $id) 

see \global\Walker::start_el()
since 1.80

Parameters

$output

string

Passed by reference. Used to append additional content.

$taxonomy_object

object

Taxonomy data object.

$depth

int

Depth of category in reference to parents. Default 0.

$args

array

An array of arguments. @see wp_list_categories()

$id

int

ID of the current category.