includes_url

SummerySummery

Retrieves the URL to the includes directory.

Syntax

includes_url( string $path = '', string $scheme = null )

ParametersParameters

$path

(string) (Optional) Path relative to the includes URL.

Default value: ''

$scheme

(string) (Optional) Scheme to give the includes URL context. Accepts 'http', 'https', or 'relative'.

Default value: null

ReturnReturn

(string) Includes URL link with optional path appended.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
2.6.0 Introduced.
Scroll to Top