comments - In wp_list_comments(), what is a short_ping?

I've been looking at the documentation for wp_list_comments(). One of the options is 'short_ping' which i

I've been looking at the documentation for wp_list_comments(). One of the options is 'short_ping' which is documented thus:

( boolean ) Whether you want to use a short ping.

What on earth is a "short ping" and why would I want one?

I've been looking at the documentation for wp_list_comments(). One of the options is 'short_ping' which is documented thus:

( boolean ) Whether you want to use a short ping.

What on earth is a "short ping" and why would I want one?

Share Improve this question edited Sep 12, 2019 at 3:28 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Sep 12, 2019 at 2:46 Matthew Brown aka Lord MattMatthew Brown aka Lord Matt 1,0683 gold badges13 silver badges34 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

This option is used to output a pingback comment. It's passed to the Walker_Comment class, and if it's set to true, it will output something similar to this:

<li>
    <div class="comment-body">
        Pingback: <a href="author-url-here" rel="external nofollow" class="url">Author Name</a>
    </div>

The author URL is the field that users enter when filling out the comment form. Note that the closing </li> is missing intentionally.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745166092a4614639.html

相关推荐

  • comments - In wp_list_comments(), what is a short_ping?

    I've been looking at the documentation for wp_list_comments(). One of the options is 'short_ping' which i

    3小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信