get_pung
Filter HookDescription
Filters the list of already-pinged URLs for the given post.Hook Information
File Location |
wp-includes/post.php
View on GitHub
|
Hook Type | Filter |
Line Number | 5947 |
Hook Parameters
Type | Name | Description |
---|---|---|
string[]
|
$pung
|
Array of URLs already pinged for the given post. |
Usage Examples
Basic Usage
<?php
// Hook into get_pung
add_filter('get_pung', 'my_custom_filter', 10, 1);
function my_custom_filter($pung) {
// Your custom filtering logic here
return $pung;
}
Source Code Context
wp-includes/post.php:5947
- How this hook is used in WordPress core
<?php
5942 *
5943 * @since 2.0.0
5944 *
5945 * @param string[] $pung Array of URLs already pinged for the given post.
5946 */
5947 return apply_filters( 'get_pung', $pung );
5948 }
5949
5950 /**
5951 * Retrieves URLs that need to be pinged.
5952 *
PHP Documentation
<?php
/**
* Filters the list of already-pinged URLs for the given post.
*
* @since 2.0.0
*
* @param string[] $pung Array of URLs already pinged for the given post.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/post.php
Related Hooks
Related hooks will be displayed here in future updates.