WPDev.one
Core Function
View Source on Trac ↗

wp_refresh_post_nonces()

wp_refresh_post_nonces( mixed $response, mixed $data, mixed $screen_id )

Checks nonce expiration on the New/Edit Post screen and refresh if needed.

Parameters 3 required

Name / Type Description
$response
array

The Heartbeat response.

Required
$data
array

The $_POST data sent.

Required
$screen_id
string

The screen ID.

Required

Return Value

(array)
The Heartbeat response.

Function Information

Since Version
3.6.0
Source File
wp-admin/includes/misc.php
Advertisement