Definition:
function pings_open( $post_id = NULL ) {}
Whether the current post is open for pings.
Parameters
- int $post_id: An optional post ID to check instead of the current post.
Return values
returns:True if pings are accepted
Defined filters
- pings_open
apply_filters( 'pings_open', $open, $post_id )
Source code
function pings_open( $post_id = NULL ) { $_post = get_post($post_id); $open = ( 'open' == $_post->ping_status ); return apply_filters( 'pings_open', $open, $post_id ); }
2509
No comments yet... Be the first to leave a reply!