Add woocommerce_attributes_saved trigger. Closes #35004. (#36943)

This commit is contained in:
Barry Hughes 2023-02-24 07:20:16 -08:00 committed by GitHub
commit 7f5b65b519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Trigger event `woocommerce_attributes_saved` following successful product meta box ajax update.

View File

@ -797,6 +797,9 @@ jQuery( function ( $ ) {
$( '#variable_product_options' ).trigger( 'reload' );
}
);
$( document.body ).trigger( 'woocommerce_attributes_saved' );
}
} );
} );