Summery Summery
Retrieves the URL to the content directory.
Syntax Syntax
Parameters Parameters
- $path
-
(Optional) Path relative to the content URL.
Default value: ''
Return Return
(string) Content URL link with optional path appended.
Source Source
File: wp-includes/link-template.php
* Filters the URL to the includes directory. * * @since 2.8.0 * * @param string $url The complete URL to the includes directory including scheme and path. * @param string $path Path relative to the URL to the wp-includes directory. Blank string * if no path is specified. */ return apply_filters( 'includes_url', $url, $path ); } /** * Retrieves the URL to the content directory. * * @since 2.6.0 * * @param string $path Optional. Path relative to the content URL. Default empty. * @return string Content URL link with optional path appended.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |