Filter hook 'includes_url'
in WP Core File wp-includes/link-template.php at line 3608
Description
Filters the URL to the includes directory.
Occurrences
Filename |
Line Number |
wp-includes/link-template.php |
3608 |
Parameters
Type |
Name |
Description |
string |
$url |
The complete URL to the includes directory including scheme and path. |
string |
$path |
Path relative to the URL to the wp-includes directory. Blank string if no path is specified. |
string|null |
$scheme |
Scheme to give the includes URL context. Accepts 'http', 'https', 'relative', or null. Default null. |
PHP Doc
/**
* Filters the URL to the includes directory.
*
* @since 2.8.0
* @since 5.8.0 The `$scheme` parameter was added.
*
* @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.
* @param string|null $scheme Scheme to give the includes URL context. Accepts
* 'http', 'https', 'relative', or null. Default null.
*/