Skip to content

Commit

Permalink
👌 IMPROVE: Updated save_post priority for metaboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdevore committed Jun 8, 2022
1 parent 1a4d5ae commit 986af71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/metaboxes/wpd-metabox-product-details.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,4 @@ function wp_dispensary_product_details_metabox_save() {
}
}
}
add_action( 'save_post', 'wp_dispensary_product_details_metabox_save', 1 );
add_action( 'save_post', 'wp_dispensary_product_details_metabox_save', 11 );
2 changes: 1 addition & 1 deletion admin/metaboxes/wpd-metabox-product-prices.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ function wp_dispensary_product_prices_metabox_save() {
}
}
}
add_action( 'save_post', 'wp_dispensary_product_prices_metabox_save', 1 );
add_action( 'save_post', 'wp_dispensary_product_prices_metabox_save', 11 );

0 comments on commit 986af71

Please sign in to comment.