_wpsc_ajax_handler

AJAX handler for all WPEC ajax requests.

Description

(array) _wpsc_ajax_handler(); 

This function automates nonce checking and outputs JSON response.

Returns (array)

$output json encoded response


Usage

  1. if ( !function_exists( '_wpsc_ajax_handler' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-admin/ajax.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _wpsc_ajax_handler(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wpsc-admin/ajax.php