wordpress / latest / hooks / content_url.html

apply_filters( 'content_url', string $url, string $path )

Filters the URL to the content directory.

Parameters

$url string
The complete URL to the content directory including scheme and path.
$path string
Path relative to the URL to the content directory. Blank string if no path is specified.

Source

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

return apply_filters( 'content_url', $url, $path );

Used By

Used By Description

Changelog

Version Description
2.8.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/content_url