wordpress / latest / hooks / pings_open.html

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.

Source

File: wp-includes/comment-template.php. View all references

return apply_filters( 'pings_open', $open, $post_id );

Used By

Used By Description

Changelog

Version Description
2.5.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pings_open