heartbeat_nopriv_tick

heartbeat_nopriv_tick

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('heartbeat_nopriv_tick') is found 1 times:

  • /wp-admin/includes/ajax-actions.php line 66
    	 *
    	 * @param array  $response  The no-priv Heartbeat response.
    	 * @param string $screen_id The screen ID.
    	 */
    	do_action( 'heartbeat_nopriv_tick', $response, $screen_id );
    
    	// Send the current time according to the server.
    	$response['server_time'] = time();
    
    	wp_send_json( $response );
    }