WordPress at a glance
function is not described

wp_refresh_post_nonces() WP 3.6.0

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

No Hooks.

Return

Array. The Heartbeat response.

Usage

wp_refresh_post_nonces( $response, $data, $screen_id );
$response(array) (required)
The Heartbeat response.
$data(array) (required)
The $_POST data sent.
$screen_id(string) (required)
The screen id.

Code of wp refresh post nonces: wp-admin/includes/misc.php VER 5.0.3

<?php
function wp_refresh_post_nonces( $response, $data, $screen_id ) {
	if ( array_key_exists( 'wp-refresh-post-nonces', $data ) ) {
		$received = $data['wp-refresh-post-nonces'];
		$response['wp-refresh-post-nonces'] = array( 'check' => 1 );

		if ( ! $post_id = absint( $received['post_id'] ) ) {
			return $response;
		}

		if ( ! current_user_can( 'edit_post', $post_id ) ) {
			return $response;
		}

		$response['wp-refresh-post-nonces'] = array(
			'replace' => array(
				'getpermalinknonce' => wp_create_nonce('getpermalink'),
				'samplepermalinknonce' => wp_create_nonce('samplepermalink'),
				'closedpostboxesnonce' => wp_create_nonce('closedpostboxes'),
				'_ajax_linking_nonce' => wp_create_nonce( 'internal-linking' ),
				'_wpnonce' => wp_create_nonce( 'update-post_' . $post_id ),
			),
		);
	}

	return $response;
}