_wpsc_ajax_return_alternate_html

Returns the jQuery that is likely included in calls to this action.

Description

_wpsc_ajax_return_alternate_html(); 

For back compat only, will be deprecated soon. Couldn't think up a better way to return this output, which most often will end in die(), without die()ing early ourselves.


Usage

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

Defined (1)

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

/wpsc-components/theme-engine-v1/helpers/ajax.php