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.3.3

do_action('woocommerce_product_type_changed') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 981
     
    		// 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: