Core Function
View Source on Trac ↗ content_url()
content_url( mixed $path = '' ) Retrieves the URL to the content directory.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $path string | Optional. Path relative to the content URL. Default empty. |
Return Value
(string)
Content URL link with optional path appended.
Function Information
Since Version
2.6.0
Source File
wp-includes/link-template.php
Advertisement