wp_refresh_nonces WordPress Filter Hook

The wp_refresh_nonces hook is used to refresh the security nonces for a user. This is typically used when a user logs in or out, or when their session expires. This hook can be used to ensure that a user's nonces are always up-to-date, and to help protect against security vulnerabilities.

apply_filters( 'wp_refresh_nonces', array $response, array $data, string $screen_id ) #

Filters the nonces to send to the New/Edit Post screen.


Parameters

$response

(array)The Heartbeat response.

$data

(array)The $_POST data sent.

$screen_id

(string)The screen ID.


Top ↑

Source

File: wp-admin/includes/ajax-actions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More