is_protected_endpoint()
is_protected_endpoint()
确定我们当前是否位于应针对wsod进行保护的终结点上。
Determines whether we are currently on an endpoint that should be protected against WSODs.
返回(Return)
(bool)如果当前终结点应受到保护,则为True。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.2.0 | wp-includes/load.php:822 | 2 | 5 |
is_protected_endpoint() 为WP2原创文章,链接:https://www.wp2.cn/functions/is_protected_endpoint/