customize_allowed_urls
apply_filters( ‘customize_allowed_urls’, string[] $allowed_urls )
过滤器::过滤允许在自定义程序预览中单击和跟随的url列表。
Filter Hook: Filters the list of URLs allowed to be clicked and followed in the Customizer preview.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$allowed_urls | (string[]) | 允许的URL数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.4.0 | wp-includes/class-wp-customize-manager.php:4559 | 1 | 0 |
customize_allowed_urls 为WP2原创文章,链接:https://www.wp2.cn/hook/customize_allowed_urls/