Core Function
View Source on Trac ↗ includes_url()
includes_url( mixed $path = '', mixed $scheme = null ) Retrieves the URL to the includes directory.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $path string | Optional. Path relative to the includes URL. Default empty. |
| mixed | (string | null) $scheme Optional. Scheme to give the includes URL context. Accepts 'http', 'https', or 'relative'. Default null. Required |
Return Value
(string)
Includes URL link with optional path appended.
Function Information
Since Version
2.6.0
Source File
wp-includes/link-template.php
Advertisement