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.

Top ↑

Source

File: wp-includes/link-template.php. View all references

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


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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