Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wpf_adjust_action_priority() {
- if ( function_exists( 'wp_fusion' ) ) {
- remove_action( 'woocommerce_order_status_processing', array( wp_fusion()->integrations->woocommerce, 'woocommerce_apply_tags_checkout' ), 10, 1 );
- add_action( 'woocommerce_order_status_processing', array( wp_fusion()->integrations->woocommerce, 'woocommerce_apply_tags_checkout' ), 1, 1 );
- }
- }
- add_action( 'init', 'wpf_adjust_action_priority' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement