WC_Orders_Tracking::init()

Init tracking.


Description Description


Source Source

File: includes/tracks/events/class-wc-orders-tracking.php

17
18
19
20
21
22
23
24
25
public function init() {
    add_action( 'woocommerce_order_status_changed', array( $this, 'track_order_status_change' ), 10, 3 );
    add_action( 'load-edit.php', array( $this, 'track_orders_view' ), 10 );
    add_action( 'pre_post_update', array( $this, 'track_created_date_change' ), 10 );
    // WC_Meta_Box_Order_Actions::save() hooks in at priority 50.
    add_action( 'woocommerce_process_shop_order_meta', array( $this, 'track_order_action' ), 51 );
    add_action( 'load-post-new.php', array( $this, 'track_add_order_from_edit' ), 10 );
    add_filter( 'woocommerce_shop_order_search_results', array( $this, 'track_order_search' ), 10, 3 );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.