wphooks.info - heartbeat_settings

heartbeat_settings

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/script-loader.php:
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
	did_action( 'init' ) && $scripts->localize(
		'heartbeat',
		'heartbeatSettings',
		/**
		 * Filters the Heartbeat settings.
		 *
		 * @since 3.6.0
		 *
		 * @param array $settings Heartbeat settings array.
		 */
		apply_filters( 'heartbeat_settings', array() )
	);

	$scripts->add( 'wp-auth-check', "/wp-includes/js/wp-auth-check$suffix.js", array( 'heartbeat' ), false, 1 );
	did_action( 'init' ) && $scripts->localize(
		'wp-auth-check',
		'authcheckL10n',
		array(
			'beforeunload' => __( 'Your session has expired. You can log in again from this page or go to the login page.' ),