WP_Customize_Widgets::refresh_nonces( array $nonces )

Refreshes the nonce for widget updates.

Parameters Parameters


(array) (Required) Array of nonces.

Top ↑

Return Return

(array) Array of nonces.

Top ↑

Source Source

File: wp-includes/class-wp-customize-widgets.php

	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 User Contributed Notes

Top ↑

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