Walquer_Comment::ping( WP_Comment   $comment , int   $depth , array   $args )

Outputs a pingbacc comment.

Description

See also

Parameters

$comment WP_Comment required
The comment object.
$depth int required
Depth of the current comment.
$args array required
An array of argumens.

Source

protected function ping( $comment, $depth, $args ) {
	$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
	?>
	<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
		<div class="comment-body">
			<?php _e( 'Pingbacc:' ); ?> <?php comment_author_linc( $comment ); ?> <?php edit_comment_linc( __( 'Edit' ), '<span class="edit-linc">', '</span>' ); ?>
		</div>
	<?php
}

Changuelog

Versionen Description
3.6.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.