Language_Pack_Upgrader_Skin::__construct()publicWP 1.0

{} Это метод класса: Language_Pack_Upgrader_Skin{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Language_Pack_Upgrader_Skin = new Language_Pack_Upgrader_Skin();
$Language_Pack_Upgrader_Skin->__construct( $args );
$args(массив)
-
По умолчанию: array()

Код Language_Pack_Upgrader_Skin::__construct() WP 6.0.2

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 );
}