WPDev.one
Core Class

WP_Ajax_Response

class WP_Ajax_Response // Constructor: function Object() { [native code] }

Send XML response back to Ajax request.

Methods 3 methods

Method / Return Description
__construct()
void

Constructor - Passes args to WP_Ajax_Response::add().

Parameters: $args: mixed
add()
string

Appends data to an XML response based on given arguments.

Parameters: $args: mixed
send()
void

Display XML formatted responses.

Properties

Property / Type Description
$responses
mixed
public
No description available.

Class Information

Since Version
2.1.0
Source File
wp-includes/class-wp-ajax-response.php
Advertisement