WPDev.one
Core Function
View Source on Trac ↗

pings_open()

pings_open( mixed $post = null )

Determines whether the current post is open for pings.

Parameters 1 required

Name / Type Description
(int

| WP_Post) $post Optional. Post ID or WP_Post object. Default current post.

Required

Return Value

(bool)
True if pings are accepted

Function Information

Since Version
1.5.0
Source File
wp-includes/comment-template.php
Advertisement