Language_Pack_Upgrader_Skin::__construct( array $args = array() )

In this article

Parameters

$argsarrayoptional

Default:array()

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.