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.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More