add_ping WordPress Filter Hook
The add_ping Wordpress hook enables pings to be sent from a Wordpress site to a specified URL. This can be used to notify a remote server when a new post or page is published on the site.
apply_filters( 'add_ping', string $new ) #
Filters the new ping URL to add for the given post.
Parameters
- $new
(string)New ping URL to add.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |