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.


Top ↑

Source

File: wp-includes/post.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More