wp_

wp_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('wp_') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php line 573
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    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();

See this hook used in plugins: