Function: wp_heartbeat_settings

wp_heartbeat_settings( array $settings )

Default settings for heartbeat

Shortcut: whs

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

Outputs the nonce used in the heartbeat XHR


Name Type(s) Default Value Description
$settings array




WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.