pings_open WordPress Filter Hook

The pings_open hook is triggered when a comment is posted on a WordPress blog. It allows you to modify the comments template.

apply_filters( 'pings_open', bool $open, int $post_id ) #

Filters whether the current post is open for pings.


Parameters

$open

(bool)Whether the current post is open for pings.

$post_id

(int)The post ID.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.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