get_pung WordPress Filter Hook
The get_pung hook is used to fetch the pung value for a given user. This value is used to determine the number of pungs a user has.
apply_filters( 'get_pung', string[] $pung ) #
Filters the list of already-pinged URLs for the given post.
Parameters
- $pung
(string[])Array of URLs already pinged for the given post.
More Information
Note that the filter function must return an array of URLs after it is finished processing, or any code using the $pung
array will break, and other plugins also filtering the $pung
array may generate errors.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |