Support » Plugin: Code Snippets » Woocommerce hooks issue

  • Hi there,

    I hope you are fine & safe during this time because of corona, so i wish you the best for you & your family.

    The Woocommerce hooks doesn’t work when adding it onto the code snippet (even with hooks priorities).

    add_filter('tc_ticket_instance_field_value', 'tc_sequential_order_id', 99, 5);
    add_filter('posts_join', 'extended_search_join', 99);
    add_filter('posts_where', 'extended_search_where', 1);
    
    add_action('woocommerce_new_order', 'wc_update_post_content', 10 ,1);
    add_action('ywraq_after_create_order', 'wc_update_post_content', 10, 1);
    add_action('yith_wcmv_suborder_created','wc_update_post_content', 10, 1);

    These hooks worked only when we added it to the funciton.php

    Is there is any issue in that ?

    Best Regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce hooks issue’ is closed to new replies.