Summery Summery
Constructor – Passes args to WP_Ajax_Response::add().
Syntax Syntax
Parameters Parameters
- $args
-
(Optional) Will be passed to add() method.
Default value: ''
Source Source
File: wp-includes/class-wp-ajax-response.php
*/ public function __construct( $args = '' ) { if ( ! empty( $args ) ) { $this->add( $args ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |