Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
pings_open() - 当前文章是否接受ping - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / pings_open()

pings_open( int|WP_Post $post_id = null )

当前文章是否接受ping


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 2 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "0efb0c823b10c483983f2a3b0cbf9866" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "73e406c8dacc9206c08b52989a30aa03" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

open


描述

更多类似的主题函数信息,请查看主题开发手册中的条件标签文章。


参数

$post_id

(int|WP_Post) (可选) 文章 ID或WP_Post对象,默认当前文章。

默认值: null


返回

(bool) 如果接受ping,则为true



源码

查看源码 官方文档


更新日志

版本描述
1.5.0开始引入

Warning: Undefined variable $o in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line 194