Function Reference: geodir_buddypress_comment
Summary
BuddyPress reviews Tab – comment HTML.
Package
GeoDirectory_BuddyPress_Integration
Parameters
- $comment
- (object) (required) Comment object.
- Default: None
- $args
- (array) (required) Comment arguments.
- Default: None
- $depth
- (int) (required) Comment depth.
- Default: None
Change Log
Since: 1.0.0
Source File
geodir_buddypress_comment() is located in geodir_buddypress/includes/gdbuddypress_template_functions.php [Line: 320]
Source Code
function geodir_buddypress_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
', '' ); ?>
__( 'Reply', GDBUDDYPRESS_TEXTDOMAIN ), 'after' => ' ↓', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>