ACF_Taxonomy_Field_Walker::start_lvlpublicACF 1.0.0

Starts the list before the elements are added.

Method of the class: ACF_Taxonomy_Field_Walker{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ACF_Taxonomy_Field_Walker = new ACF_Taxonomy_Field_Walker();
$ACF_Taxonomy_Field_Walker->start_lvl( $output, $depth, $args );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
$depth(int)
Depth of category. Used for tab indentation.
$args(array)
An array of arguments. @see wp_terms_checklist().
Default: array()

Notes

  • See: Walker:start_lvl()

Changelog

Since 1.0.0 Introduced.

ACF_Taxonomy_Field_Walker::start_lvl() code ACF 6.0.4

public function start_lvl( &$output, $depth = 0, $args = array() ) {
	$indent  = str_repeat( "\t", $depth );
	$output .= "$indent<ul class='children acf-bl'>\n";
}