includes_url

过滤钩子
apply_filters( 'includes_url', $url, $path, $scheme )
参数
  • (string) $url The complete URL to the includes directory including scheme and path.
    Required:
  • (string) $path Path relative to the URL to the wp-includes directory. Blank string if no path is specified.
    Required:
  • (string|null) $scheme Scheme to give the includes URL context. Accepts 'http', 'https', 'relative', or null. Default null.
    Required:
定义位置
相关勾子
plugins_urlrest_urladmin_urllogin_urllogout_url
相关方法
includes_urlclean_urlesc_urlplugins_urlrest_urlwp_nonce_url
引入
5.8.0
弃用
-

includes_url: 这个函数返回WordPress包含目录的URL: 这个函数可以用来引用includes目录中的文件,如JavaScript文件或CSS文件。

过滤包含目录的URL。

return apply_filters( 'includes_url', $url, $path, $scheme );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 13:33:19

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: