wpsc_update_check()
Хуков нет.
Возвращает
null
. Ничего.
Использование
wpsc_update_check();
Код wpsc_update_check() wpsc update check WPSCache 1.9.4
function wpsc_update_check() { global $wpsc_version; if ( ! isset( $wpsc_version ) || $wpsc_version != 169 ) { wp_cache_setting( 'wpsc_version', 169 ); global $wp_cache_debug_log, $cache_path; $log_file = $cache_path . str_replace('/', '', str_replace('..', '', $wp_cache_debug_log)); if ( ! file_exists( $log_file ) ) { return false; } @unlink( $log_file ); wp_cache_debug( 'wpsc_update_check: Deleted old log file on plugin update.' ); } }