WordPress hook directory
add_ping

Description

Applied to the new value of the pinged field on a post when a ping is added, prior to saving the new information in the database.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for add_ping

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.0 wp-includes/functions-post.php 768 View in context filter
2.0.11 wp-includes/functions-post.php 787 View in context filter
2.1 wp-includes/post.php 830 View in context filter
2.2 wp-includes/post.php 835 View in context filter
2.3 wp-includes/post.php 891 View in context filter
2.5 wp-includes/post.php 1545 View in context filter
2.6 wp-includes/post.php 1657 View in context filter
2.7 wp-includes/post.php 1770 View in context filter
2.8 wp-includes/post.php 1929 View in context filter
2.9 wp-includes/post.php 2147 View in context filter
3.0 wp-includes/post.php 2735 View in context filter
3.1 wp-includes/post.php 2977 View in context filter
3.2 wp-includes/post.php 3011 View in context filter
3.3 wp-includes/post.php 3004 View in context filter
3.4 wp-includes/post.php 3050 View in context filter
3.5 wp-includes/post.php 3287 View in context filter
3.6 wp-includes/post.php 3261 View in context filter
3.7 wp-includes/post.php 3338 View in context filter
3.8 wp-includes/post.php 3345 View in context filter
3.9 wp-includes/post.php 3721 View in context filter
4.0 wp-includes/post.php 3996 View in context filter
4.1 wp-includes/post.php 3990 View in context filter
4.2 wp-includes/post.php 4038 View in context filter
4.3 wp-includes/post.php 4111 View in context filter
4.4 wp-includes/post.php 3906 View in context filter
4.5 wp-includes/post.php 4050 View in context filter
4.6 wp-includes/post.php 3930 View in context filter
4.7 wp-includes/post.php 4039 View in context filter
4.8 wp-includes/post.php 4044 View in context filter
4.9 wp-includes/post.php 4115 View in context filter
5.0 wp-includes/post.php 4281 View in context filter
5.1 wp-includes/post.php 4524 View in context filter

Related Hooks

We find related hooks using word stems. add_ping has 2 significant word stem(s): add, ping. Note that some of the hooks below may not appear in all versions of WP.