wp_version_check
wp_version_check
Appears in: siteguard.1.4.3, siteguard.1.5.0, siteguard.1.5.1, siteguard.1.5.2, siteguard.1.6.0, siteguard.1.6.1, siteguard.1.7.1, siteguard.1.7.2, siteguard.1.7.3, siteguard.1.7.5, siteguard.1.7.6, siteguard.1.7.7, siteguard.1.7.8
Hook Type: action
Displaying hooks found in version: siteguard.1.7.8do_action('wp_version_check') is found 1 times:
- /classes/siteguard-updates-notify.php line 112
} private static function core_update_check( &$message ) { global $siteguard_config, $wp_version; do_action( 'wp_version_check' ); // force WP to check its core for updates $update_core = get_site_transient( 'update_core' ); // get information of updates $notified = $siteguard_config->get( 'notified' ); if ( 'upgrade' == $update_core->updates[0]->response ) { // is WP core update available? if ( $update_core->updates[0]->current != $notified['core'] ) { // have we already notified about this version? require_once ABSPATH . WPINC . '/version.php'; // Including this because some plugins can mess with the real version stored in the DB. $new_core_ver = $update_core->updates[0]->current; // The new WP core version