Languages: Español • English • Reference/wp heartbeat settings 日本語 (Add your language)
Default settings for heartbeat. Outputs the nonce used in the heartbeat XHR.
<?php ?>
Outputs the nonce used in the heartbeat XHR.
function wp_heartbeat_settings_3242( $settings ) { $settings['interval'] = 60; //Anything between 15-120 return $settings; } add_filter( 'heartbeat_settings', 'wp_heartbeat_settings_3242' );
wp_heartbeat_settings() is located in wp-includes/general-template.php
.
Function ref links