BBP_Walker_Reply::end_el( $output = '', $object = false, $depth, $args = array() )
Description
Source
File: bp-forums/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'] ) ) {
call_user_func( $args['end-callback'], $object, $args, $depth );
return;
}
// Style for div or list element
if ( !empty( $args['style'] ) && ( 'div' === $args['style'] ) ) {
echo "</div>\n";
} else {
echo "</li>\n";
}
}
Changelog
| Version | Description |
|---|---|
| bbPress (r4944) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.