On this page
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_linksstring[]-
Array of link URLs to be checked (passed by reference).
$pungstring[]-
Array of link URLs already pinged (passed by reference).
$post_idint-
The post ID.
Source
File: wp-includes/comment.php. View all references
do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post->ID ) );
Related
Used By
| Used By | Description |
|---|---|
| pingback() wp-includes/comment.php | Pings back the links found in a post. |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_ping