pre_ping

动作钩子


do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post->ID )
参数
  • (string[])
    $post_links
    Array of link URLs to be checked (passed by reference).
    Required:
  • (string[])
    $pung
    Array of link URLs already pinged (passed by reference).
    Required:
  • (int)
    $post_id
    The post ID.
    Required:
定义位置
  • wp-includes/comment.php
    , line 3108
引入
2.0.0
弃用

Fires just before pinging back links found in a post.

do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post->ID ) );