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.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |