SLP® phpDocs

SLP_Premier_Category_Walker_Checklist extends Walker
in package

Category Walker

Table of Contents

Properties

$db_fields  : mixed
$tree_type  : mixed

Methods

end_el()  : mixed
Ends the element output, if needed.
end_lvl()  : mixed
Ends the list of after the elements are added.
start_el()  : mixed
Start the element output.
start_lvl()  : mixed
Starts the list before the elements are added.
walk()  : string|void
Walk the walk.
get_icon()  : string
Get the icon.

Properties

Methods

end_el()

Ends the element output, if needed.

public end_el(string &$output, object $category[, int $depth = 0 ][, array<string|int, mixed> $args = array() ]) : mixed
Parameters
$output : string

Passed by reference. Used to append additional content.

$category : object

The current term object.

$depth : int = 0

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

$args : array<string|int, mixed> = array()

An array of arguments. @see wp_terms_checklist()

Tags
see
Walker::end_el()
since
2.5.1

end_lvl()

Ends the list of after the elements are added.

public end_lvl(string &$output[, int $depth = 0 ][, array<string|int, mixed> $args = array() ]) : mixed
Parameters
$output : string

Passed by reference. Used to append additional content.

$depth : int = 0

Depth of category. Used for tab indentation.

$args : array<string|int, mixed> = array()

An array of arguments. @see wp_terms_checklist()

Tags
since
2.5.1
see
Walker::end_lvl()

start_el()

Start the element output.

public start_el(string &$output, object $category[, int $depth = 0 ][, array<string|int, mixed> $args = array() ][, int $id = 0 ]) : mixed
Parameters
$output : string

Passed by reference. Used to append additional content.

$category : object

The current term object.

$depth : int = 0

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

$args : array<string|int, mixed> = array()

An array of arguments. @see wp_terms_checklist()

$id : int = 0

ID of the current term.

Tags
since
2.5.1
see
Walker::start_el()

start_lvl()

Starts the list before the elements are added.

public start_lvl(string &$output[, int $depth = 0 ][, array<string|int, mixed> $args = array() ]) : mixed
Parameters
$output : string

Passed by reference. Used to append additional content.

$depth : int = 0

Depth of category. Used for tab indentation.

$args : array<string|int, mixed> = array()

An array of arguments. @see wp_terms_checklist()

Tags
since
2.5.1
see

Walker:start_lvl()

walk()

Walk the walk.

public walk(array<string|int, mixed> $elements, int $max_depth, mixed ...$args) : string|void

..

Parameters
$elements : array<string|int, mixed>
$max_depth : int
$args : mixed
Return values
string|void

        
On this page

Search results