WP_Customize_Widgets::refresh_nonces( array $nonces ): array

Refreshes the nonce for widget updates.


Parameters

$nonces array Required
Array of nonces.

Top ↑

Return

array Array of nonces.


Top ↑

Source

File: wp-includes/class-wp-customize-widgets.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.