pings_open


pings_open ( $post_id = null )

Parameters:
  • (int|WP_Post) $post_id Post ID or WP_Post object. Default current post.
Returns:
  • (bool) True if pings are accepted
Defined at:

Description

Determines whether the current post is open for pings.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

comments_open, wp_doing_cron, wp_insert_comment, is_home, is_page

Top Google Results

User discussions

wpseek mobile