woocommerce_tracker_data

woocommerce_tracker_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_tracker_data') is found 1 times:

  • /includes/class-wc-tracker.php line 238
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
         * Filter the data that's sent with the tracker.
         *
         * @since 2.3.0
         */
        $data = apply_filters( 'woocommerce_tracker_data', $data );
     
        // Total seconds taken to generate snapshot (including filtered data).
        $data['snapshot_generation_time'] = microtime( true ) - $start_time;
     
        return $data;
    }