Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.

Class Walker is defined in /wp-includes/class-wp-walker.php Class Walker_Category is defined in /wp-includes/category-template.php

 Methods

Constructor - set the MLA Terms.

__construct(string $taxonomy) 

Parameters

$taxonomy

string

Taxonomy name/slug.

Start the element output.

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

see \global\Walker::start_el()

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.

 Properties

 

MLA Terms

$mla_terms : array