Beispiel #1
0
 /**
  * Same as Walker_Comment::ping() plus some Bootstrap classes and style locked on `div`.
  *
  * @param WP_Comment $comment The comment object.
  * @param int        $depth   Depth of the current comment.
  * @param array      $args    An array of arguments.
  */
 protected function ping($comment, $depth, $args)
 {
     ob_start();
     parent::ping($comment, $depth, array_merge($args, ['style' => 'div']));
     echo str_replace(['class="comment-body"'], ['class="comment-body well well-sm"'], ob_get_clean());
 }