woocommerce_product_type_changed

woocommerce_product_type_changed

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_product_type_changed') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 1075
    1072
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
        // Action for the transition.
        if ( $old_type !== $new_type ) {
            $this->updated_props[] = 'product_type';
            do_action( 'woocommerce_product_type_changed', $product, $old_type, $new_type );
        }
    }
     
    /**
     * Clear any caches.
     *

See this hook used in plugins: