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

In this article

Filters the URL to the includes directory.

Parameters

$urlstring
The complete URL to the includes directory including scheme and path.
$pathstring
Path relative to the URL to the wp-includes directory. Blank string if no path is specified.
$schemestring|null
Scheme to give the includes URL context. Accepts 'http', 'https', 'relative', or null. Default null.

Source

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

Changelog

VersionDescription
5.8.0The $scheme parameter was added.
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.