BBP_Walker_Reply::end_el( $output = '', $object = false, $depth, $args = array() )
Description Description
Source Source
File: includes/common/classes.php
public function end_el( &$output = '', $object = false, $depth = 0, $args = array() ) {
// Check for a callback and use it if specified
if ( ! empty( $args['end-callback'] ) ) {
ob_start();
call_user_func( $args['end-callback'], $object, $args, $depth );
$output .= ob_get_clean();
return;
}
// Style for div or list element
if ( ! empty( $args['style'] ) && ( 'div' === $args['style'] ) ) {
$output .= "</div>\n";
} else {
$output .= "</li>\n";
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.4.0 | Introduced. |