Overview
  • Namespace
  • Class

Namespaces

  • None
  • WC_POS
    • Admin
      • Settings
        • Receipt
    • API
    • Gateways
    • Integrations
    • Products

Classes

  • Activator
  • Admin
  • Ajax
  • API
  • Customers
  • Deactivator
  • Gateways
  • i18n
  • Products
  • Setup
  • Status
  • Tax
  • Template

Class Ajax

Namespace: WC_POS
Located at ajax.php

Methods summary

public
# __construct( )

Constructor

Constructor

public static
# check_ajax_referer( )

Verifies the AJAX request

Verifies the AJAX request

public static
# response( $result )

The below functions closely resemble output from the WC REST API This keeps response handling in the POS somewhat consistent between API and AJAX calls

The below functions closely resemble output from the WC REST API This keeps response handling in the POS somewhat consistent between API and AJAX calls

Output the result

Parameters

$result
API documentation generated by ApiGen