customize_refresh_nonces
apply_filters( ‘customize_refresh_nonces’, string[] $nonces , WP_Customize_Manager $this )
过滤器::为自定义项筛选nonce。
Filter Hook: Filters nonces for Customizer.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$nonces | (string[]) | 用于保存和预览操作的刷新的nonce数组。 |
$this | (WP_Customize_Manager) | WP_自定义管理器实例。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.2.0 | wp-includes/class-wp-customize-manager.php:4694 | 1 | 0 |
customize_refresh_nonces 为WP2原创文章,链接:https://www.wp2.cn/hook/customize_refresh_nonces/