[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-wp-ajax-upgrader-skin.php (summary)

Upgrader API: WP_Ajax_Upgrader_Skin class

File Size: 130 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Ajax_Upgrader_Skin:: (5 methods):
  __construct()
  get_errors()
  get_error_messages()
  error()
  feedback()


Class: WP_Ajax_Upgrader_Skin  - X-Ref

Upgrader Skin for Ajax WordPress upgrades.

This skin is designed to be used for Ajax updates.

__construct( $args = array()   X-Ref
Constructor.

since: 4.6.0
param: array $args Options for the upgrader, see WP_Upgrader_Skin::__construct().

get_errors()   X-Ref
Retrieves the list of errors.

since: 4.6.0
return: WP_Error Errors during an upgrade.

get_error_messages()   X-Ref
Retrieves a string for error messages.

since: 4.6.0
return: string Error messages during an upgrade.

error( $errors, ...$args )   X-Ref
Stores a log entry for an error.

since: 4.6.0
since: 5.3.0 Formalized the existing `...$args` parameter by adding it
param: string|WP_Error $errors  Errors.
param: mixed           ...$args Optional text replacements.

feedback( $data, ...$args )   X-Ref
Stores a log entry.

since: 4.6.0
since: 5.3.0 Formalized the existing `...$args` parameter by adding it
param: string|array|WP_Error $data    Log entry data.
param: mixed                 ...$args Optional text replacements.



Generated: Mon Dec 16 01:00:04 2019 Cross-referenced by PHPXref 0.7.1