GC_Customize_Widgets::refresh_nonces()
最后更新于:2021-11-27 12:00:29
GC_Customize_Widgets::refresh_nonces( array$nonces)Refreshes the nonce for widget updates.
参数
- $nonces
-
(array) (Required) Array of nonces.
响应
(array) Array of nonces.
源文件
文件: gc-includes/class-gc-customize-widgets.php
public function refresh_nonces( $nonces ) {
$nonces['update-widget'] = gc_create_nonce( 'update-widget' );
return $nonces;
}