apply_filters( ‘customize_allowed_urls’, string[] $allowed_urls )

In this article

Filters the list of URLs allowed to be clicked and followed in the Customizer preview.

Parameters

$allowed_urlsstring[]
An array of allowed URLs.

Source

$allowed_urls = array_unique( apply_filters( 'customize_allowed_urls', $allowed_urls ) );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.