apply_filters( 'wp_internal_hosts', string[] $internal_hosts )
Filters the array of URL hosts which are considered internal.
Parameters
-
$internal_hosts
string[] -
An array of internal URL hostnames.
Source
File: wp-includes/link-template.php
.
View all references
$internal_hosts = apply_filters(
'wp_internal_hosts',
array(
wp_parse_url( home_url(), PHP_URL_HOST ),
)
);
Changelog
Version | Description |
---|---|
6.2.0 | Introduced. |