pings_open

过滤钩子


apply_filters( 'pings_open', $open, $post_id )
参数
  • (bool)
    $open
    Whether the current post is open for pings.
    Required:
  • (int)
    $post_id
    The post ID.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 1280
引入
2.5.0
弃用

Filters whether the current post is open for pings.

return apply_filters( 'pings_open', $open, $post_id );