Language_Pack_Upgrader_Skin::__construct() –

You appear to be a bot. Output may be restricted

Description

Usage

Language_Pack_Upgrader_Skin::__construct( $args );

Parameters

$args
( array ) optional

Returns

void

Source

File name: wordpress/wp-admin/includes/class-language-pack-upgrader-skin.php
Lines:

1 to 15 of 15
  public function __construct( $args = array() ) {
    $defaults = array(
      'url'                => '',
      'nonce'              => '',
      'title'              => __( 'Update Translations' ),
      'skip_header_footer' => false,
    );
    $args     = wp_parse_args( $args, $defaults );
    if ( $args['skip_header_footer'] ) {
      $this->done_header            = true;
      $this->done_footer            = true;
      $this->display_footer_actions = false;
    }
    parent::__construct( $args );
  }
 

 View on GitHub View on Trac