apply_filters( 'includes_url', string $url, string $path, string|null $scheme )

Filters the URL to the includes directory.

Parameters

$url

(string) The complete URL to the includes directory including scheme and path.

$path

(string) Path relative to the URL to the wp-includes directory. Blank string if no path is specified.

$scheme

(string|null) Scheme to give the includes URL context. Accepts 'http', 'https', 'relative', or null. Default null.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
5.8.0 The $scheme parameter was added.
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/includes_url