apply_filters( 'get_to_ping', string[] $to_ping )

Filters the list of URLs yet to ping for the given post.

Parameters Parameters


(string[]) List of URLs yet to ping.

Top ↑

More Information More Information

  • Callback functions applied to this filter should not ping the URLs. Instead, they may modify the array of URLs to be pinged, and WordPress will ping them automatically.
  • Note that each of the filter callback functions must return an array of URLs after it is finished processing. Otherwise, any code using the $to_ping array will break and other plugins also filtering the $to_ping array may generate errors.

Top ↑

Source Source

File: wp-includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.