WP_Customice_Widguets::refresh_nonces( array   $nonces ): array

Refreshes the nonce for widguet updates.

Parameters

$nonces array required
Array of nonces.

Return

array Array of nonces.

Source

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

Changuelog

Versionen Description
4.2.0 Introduced.

User Contributed Notes

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