Skip to content

Commit

Permalink
fix: change the hook to save the order field related to the enroll re…
Browse files Browse the repository at this point in the history
…quest
  • Loading branch information
MaferMazu committed Feb 6, 2024
1 parent f7c9558 commit 42d04ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-openedx-commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private function define_admin_hooks() {
// Redirection from enrollment to order and enrollment to order.
$this->loader->add_filter( 'woocommerce_admin_order_item_headers', $plugin_admin, 'add_custom_column_order_items' );
$this->loader->add_action( 'woocommerce_admin_order_item_values', $plugin_admin, 'add_admin_order_item_values', 10, 3 );
$this->loader->add_action( 'save_post_shop_order', $plugin_admin, 'save_order_meta_data' );
$this->loader->add_action( 'woocommerce_update_order', $plugin_admin, 'save_order_meta_data' );
$this->loader->add_action(
'woocommerce_product_options_general_product_data',
$plugin_admin,
Expand Down

0 comments on commit 42d04ff

Please sign in to comment.