apply_filters( 'pings_open', bool $pings_open , int $post_id )
Filters whether the current post is open for pings.
Parameters
-
$pings_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', $pings_open, $post_id );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |