Filter hook 'pings_open'

in WP Core File wp-includes/comment-template.php at line 1352

Description

Filters whether the current post is open for pings.

Occurrences

Filename Line Number
wp-includes/comment-template.php 1352

Parameters

Type Name Description
bool $pings_open Whether the current post is open for pings.
int $post_id The post ID.

PHP Doc

/**
	 * Filters whether the current post is open for pings.
	 *
	 * @since 2.5.0
	 *
	 * @param bool $pings_open Whether the current post is open for pings.
	 * @param int  $post_id    The post ID.
	 */