HEX
Server: Apache/2
System: Linux s01 6.1.0-34-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.135-1 (2025-04-25) x86_64
User: beestg (1003)
PHP: 8.3.27
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/beestg/public_html/wp-content/plugins/tiktok-for-business/pixel/tt4b_pixel.php
<?php
/**
 * Copyright (c) Bytedance, Inc. and its affiliates. All Rights Reserved
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @package TikTok
 */
require_once 'Tt4b_Pixel_Class.php';
add_action( 'woocommerce_add_to_cart', array( 'Tt4b_Pixel_Class', 'inject_add_to_cart_event' ), 40, 4 );
add_action( 'woocommerce_before_single_product_summary', array( 'Tt4b_Pixel_Class', 'inject_view_content_event' ) );
add_action( 'woocommerce_payment_complete', array( 'Tt4b_Pixel_Class', 'inject_purchase_event' ) );
add_action( 'woocommerce_thankyou', array( 'Tt4b_Pixel_Class', 'inject_purchase_event' ) );
add_action( 'woocommerce_after_checkout_form', array( 'Tt4b_Pixel_Class', 'inject_initiate_checkout_event' ) );
add_action( 'woocommerce_blocks_checkout_enqueue_data', array( 'Tt4b_Pixel_Class', 'inject_initiate_checkout_event' ) );
add_action( 'wp_head', array( 'Tt4b_Pixel_Class', 'print_script' ) );
add_action( 'init', array( 'Tt4b_Pixel_Class', 'set_ttclid' ) );
add_action( 'wp_enqueue_scripts', array( 'Tt4b_Pixel_Class', 'add_ajax_snippet' ) );
add_filter( 'woocommerce_loop_add_to_cart_args', array( 'Tt4b_Pixel_Class', 'filter_add_to_cart_attributes' ), 10, 2 );