wp_ . $blog_id . _wc_updater_cron

wp_ . $blog_id . _wc_updater_cron

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('wp_ . $blog_id . _wc_updater_cron') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php line 663
    			case 'db_update_routine':
    				$blog_id = get_current_blog_id();
    				// Used to fire an action added in WP_Background_Process::_construct() that calls WP_Background_Process::handle_cron_healthcheck().
    				// This method will make sure the database updates are executed even if cron is disabled. Nothing will happen if the updates are already running.
    				do_action( 'wp_' . $blog_id . '_wc_updater_cron' );
    				$message = __( 'Database upgrade routine has been scheduled to run in the background.', 'woocommerce' );
    				break;
    
    			case 'clear_template_cache':
    				if ( function_exists( 'wc_clear_template_cache' ) ) {
    					wc_clear_template_cache();