WordPress at a glance
filter is not described

heartbeat_settings filter-hook . WP 3.6.0

Filters the Heartbeat settings.

Usage

add_filter( 'heartbeat_settings', 'filter_function_name_7984' );
function filter_function_name_7984( $settings ){
	// filter...

	return $settings;
}
$settings(array)
Heartbeat settings array.

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

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

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

wp_default_scripts()
heartbeat_settings
wp-includes/script-loader.php 699
apply_filters( 'heartbeat_settings', array() )

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

wp-admin/includes/admin-filters.php 73
add_filter( 'heartbeat_settings', 'wp_heartbeat_set_suspension' );
wp-includes/class-wp-customize-manager.php 381
add_filter( 'heartbeat_settings', array( $this, 'add_customize_screen_to_heartbeat_settings' ) );
wp-includes/default-filters.php 421
add_filter( 'heartbeat_settings', 'wp_heartbeat_settings' );