WC_Ajax class for ajax events