[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Upgrader API: WP_Upgrader_Skin class

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

Defines 1 class

WP_Upgrader_Skin:: (14 methods):
  __construct()
  set_upgrader()
  add_strings()
  set_result()
  request_filesystem_credentials()
  header()
  footer()
  error()
  feedback()
  before()
  after()
  decrement_update_count()
  bulk_header()
  bulk_footer()


Class: WP_Upgrader_Skin  - X-Ref

Generic Skin for the WordPress Upgrader classes. This skin is designed to be extended for specific purposes.

__construct( $args = array()   X-Ref

param: array $args

set_upgrader( &$upgrader )   X-Ref

param: WP_Upgrader $upgrader

add_strings()   X-Ref
No description

set_result( $result )   X-Ref
Sets the result of an upgrade.

param: string|bool|WP_Error $result The result of an upgrade.
since: 2.8.0

request_filesystem_credentials( $error = false, $context = '', $allow_relaxed_file_ownership = false )   X-Ref
Displays a form to the user to request for their FTP/SSH details in order
to connect to the filesystem.

param: bool   $error                        Optional. Whether the current request has failed to connect.
param: string $context                      Optional. Full path to the directory that is tested
param: bool   $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
return: bool False on failure, true on success.
since: 2.8.0
since: 4.6.0 The `$context` parameter default changed from `false` to an empty string.

header()   X-Ref
No description

footer()   X-Ref
No description

error( $errors )   X-Ref

param: string|WP_Error $errors

feedback( $string )   X-Ref

param: string $string

before()   X-Ref
No description

after()   X-Ref
No description

decrement_update_count( $type )   X-Ref
Output JavaScript that calls function to decrement the update counts.

param: string $type Type of update count to decrement. Likely values include 'plugin',
since: 3.9.0

bulk_header()   X-Ref
No description

bulk_footer()   X-Ref
No description



Generated: Sat Jul 20 01:00:03 2019 Cross-referenced by PHPXref 0.7.1