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.


Top ↑

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.


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