WordPress at a glance
function is not described

WP_Customize_Widgets::refresh_nonces() public WP 4.2.0

Refreshes the nonce for widget updates.

{} It's a method of the class: WP_Customize_Widgets{}

No Hooks.

Return

Array. Array of nonces.

Usage

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->refresh_nonces( $nonces );
$nonces(array) (required)
Array of nonces.

Changelog

Since 4.2.0 Introduced.

Code of WP_Customize_Widgets::refresh_nonces() WP 5.5.1

<?php
public function refresh_nonces( $nonces ) {
	$nonces['update-widget'] = wp_create_nonce( 'update-widget' );
	return $nonces;
}