next_preload_message()
No Hooks.
Return
null
. Nothing (null).
Usage
;
next_preload_message() next preload message code WPSCache 1.12.0
// phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents if ( false === file_put_contents( $filename, wp_json_encode( $preload_status ) ) ) { wp_cache_debug( "wpsc_update_idle_preload: failed to write to $filename" ); } } function wp_cron_preload_cache() { global $wpdb, $wp_cache_preload_interval, $wp_cache_preload_posts, $wp_cache_preload_email_me, $wp_cache_preload_email_volume, $cache_path, $wp_cache_preload_taxonomies; // check if stop_preload.txt exists and preload should be stopped. // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged if ( @file_exists( $cache_path . 'stop_preload.txt' ) ) { wp_cache_debug( 'wp_cron_preload_cache: preload cancelled. Aborting preload.' ); wpsc_reset_preload_settings(); return true; } /*