wpsc_preload_restart_notice()WPSCache 1.0

No Hooks.

Return

null. Nothing (null).

Usage

wpsc_preload_restart_notice();

wpsc_preload_restart_notice() code WPSCache 1.11.0

function wpsc_preload_restart_notice() {

	if ( false == wpsupercache_site_admin() )
		return false;
	if ( ! isset( $_GET[ 'page' ] ) || $_GET[ 'page' ] != 'wpsupercache' )
		return false;
	echo '<div class="notice notice-error"><p>' . __( 'Warning! WP Super Cache preload was interrupted but has been restarted.', 'wp-super-cache' ) . '</p></div>';
}