customize_allowed_urls WordPress Filter Hook
The customize_allowed_urls hook is used to filter the list of allowed URLs for use in the Customizer. This hook is used to allow for customizing the Customizer URL whitelist.
apply_filters( 'customize_allowed_urls', string[] $allowed_urls ) #
Filters the list of URLs allowed to be clicked and followed in the Customizer preview.
Parameters
- $allowed_urls
(string[])An array of allowed URLs.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |