Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Last active December 20, 2015 11:59
Show Gist options
  • Save barbwiredmedia/6127346 to your computer and use it in GitHub Desktop.
Save barbwiredmedia/6127346 to your computer and use it in GitHub Desktop.
Wordpress - Functions ACF / WP Ecommerce - Post Priority Fix
/* WP e-commerce core has been edited
* ::root::\wp-content\plugins\wp-e-commerce\wpsc-admin\includes\product-functions.php
*
* Line #221 changed priority 10 save to priority 5 was conflicing with ACF BT - 4.29.2013
* add_action( 'save_post', 'wpsc_admin_submit_product', 5, 2 );
*/
remove_action( 'save_post', 'wpsc_admin_submit_product', 10, 2 );
add_action( 'save_post', 'wpsc_admin_submit_product', 5, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment