woocommerce_save_product_variation

woocommerce_save_product_variation

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_save_product_variation') is found 1 times:

  • /includes/admin/meta-boxes/class-wc-meta-box-product-data.php line 573
    				do_action( 'woocommerce_admin_process_variation_object', $variation, $i );
    
    				$variation->save();
    				/* phpcs:disable WooCommerce.Commenting.CommentHooks.MissingHookComment */
    				do_action( 'woocommerce_save_product_variation', $variation_id, $i );
    				/* phpcs: enable */
    			}
    		}
    		// phpcs:enable WordPress.Security.NonceVerification.Missing
    	}
    }
    

See this hook used in plugins: