pre_ping WordPress Action Hook
The pre_ping hook is triggered before a ping is sent. It allows you to modify the list of URLs that are about to be pinged.
do_action_ref_array( 'pre_ping', string[] $post_links , string[] $pung , int $post_ID ) #
Fires just before pinging back links found in a post.
Parameters
- $post_links
(string[])Array of link URLs to be checked (passed by reference).
- $pung
(string[])Array of link URLs already pinged (passed by reference).
- $post_ID
(int)The post ID.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |