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:
定义位置
  • wp-includes/link-template.php
    , line 3518
引入
5.8.0
弃用

Filters the URL to the includes directory.

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