ACF_Taxonomy_Field_Walker::end_el
Ends the element output, if needed.
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->end_el( $output, $category, $depth, $args );
- $output(string) (required) (passed by reference — &)
- Used to append additional content (passed by reference).
- $category(WP_Term) (required)
- The current term object.
- $depth(int)
- Depth of the term in reference to parents.
- $args(array)
- An array of arguments. @see wp_terms_checklist().
Default:array()
Notes
- See: Walker::end_el()
Changelog
| Since 1.0.0 | Introduced. |
ACF_Taxonomy_Field_Walker::end_el() ACF Taxonomy Field Walker::end el code ACF 6.0.4
public function end_el( &$output, $category, $depth = 0, $args = array() ) {
$output .= "</li>\n";
}