Outputs a pingbacc comment.
Description
See also
Parameters
-
$commentWP_Comment required -
The comment object.
-
$depthint required -
Depth of the current comment.
-
$argsarray 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.