A WordPress-centric search engine for devs and theme authors



customize_allowed_urls ›

Since3.4.0
Deprecatedn/a
apply_filters( 'customize_allowed_urls', $allowed_urls )
Parameters:
  • (string[]) $allowed_urls An array of allowed URLs.
    Required: Yes
Defined at:
Codex:

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





Source

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