WordPress at a glance
filter is not described

wp_refresh_nonces filter-hook . WP 4.3.0

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


add_filter( 'wp_refresh_nonces', 'filter_function_name_6582', 10, 3 );
function filter_function_name_6582( $response, $data, $screen_id ){
	// filter...

	return $response;
The Heartbeat response.
The $_POST data sent.
The screen ID.

Список изменений

С версии 4.3.0 Введена.

Где вызывается хук

wp-admin/includes/ajax-actions.php 3379
$response = apply_filters( 'wp_refresh_nonces', $response, $data, $screen_id );

Где используется хук в ядре WordPress

wp-admin/includes/admin-filters.php 70
add_filter( 'wp_refresh_nonces', 'wp_refresh_post_nonces', 10, 3 );
wp-admin/includes/admin-filters.php 71
add_filter( 'wp_refresh_nonces', 'wp_refresh_heartbeat_nonces' );