WP_Ajax_Response::__construct

SummerySummery

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

Syntax

WP_Ajax_Response::__construct( string|array $args = '' )

ParametersParameters

$args

(string|array) (Optional) Will be passed to add() method.

Default value: ''

SourceSource

File: wp-includes/class-wp-ajax-response.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.

See alsoSee also

Scroll to Top