public function add_install_settings_fields( $type ) {
		if ( ( empty( static::$options['bitbucket_username'] ) ||
			empty( static::$options['bitbucket_password'] ) ) ||

			( empty( static::$options['bitbucket_server_username'] ) ||
			empty( static::$options['bitbucket_server_password'] ) )
		) {
			add_settings_field(
				'bitbucket_username',
				esc_html__( 'Bitbucket Username', 'github-updater' ),
				[ $this, 'bitbucket_username' ],
				'github_updater_install_' . $type,
				$type
			);

			add_settings_field(
				'bitbucket_password',
				esc_html__( 'Bitbucket Password', 'github-updater' ),
				[ $this, 'bitbucket_password' ],
				'github_updater_install_' . $type,
				$type
			);
		}

		add_settings_field(
			'is_private',
			esc_html__( 'Private Bitbucket Repository', 'github-updater' ),
			[ $this, 'is_private_repo' ],
			'github_updater_install_' . $type,
			$type
		);
	}
public function add_install_settings_fields( $type ) {
		if ( ( empty( static::$options['bitbucket_username'] ) ||
			empty( static::$options['bitbucket_password'] ) ) ||

			( empty( static::$options['bitbucket_server_username'] ) ||
			empty( static::$options['bitbucket_server_password'] ) )
		) {
			add_settings_field(
				'bitbucket_username',
				esc_html__( 'Bitbucket Username', 'github-updater' ),
				[ $this, 'bitbucket_username' ],
				'github_updater_install_' . $type,
				$type
			);

			add_settings_field(
				'bitbucket_password',
				esc_html__( 'Bitbucket Password', 'github-updater' ),
				[ $this, 'bitbucket_password' ],
				'github_updater_install_' . $type,
				$type
			);
		}

		add_settings_field(
			'is_private',
			esc_html__( 'Private Bitbucket Repository', 'github-updater' ),
			[ $this, 'is_private_repo' ],
			'github_updater_install_' . $type,
			$type
		);
	}
public function add_install_settings_fields ( $ type ) { if ( ( empty ( static :: $ options [ 'bitbucket_username' ] ) || empty ( static :: $ options [ 'bitbucket_password' ] ) ) || ( empty ( static :: $ options [ 'bitbucket_server_username' ] ) || empty ( static :: $ options [ 'bitbucket_server_password' ] ) ) ) { add_settings_field ( 'bitbucket_username' , esc_html__ ( 'Bitbucket Username' , 'github-updater' ) , [ $ this , 'bitbucket_username' ] , 'github_updater_install_' . $ type , $ type ) ; add_settings_field ( 'bitbucket_password' , esc_html__ ( 'Bitbucket Password' , 'github-updater' ) , [ $ this , 'bitbucket_password' ] , 'github_updater_install_' . $ type , $ type ) ; } add_settings_field ( 'is_private' , esc_html__ ( 'Private Bitbucket Repository' , 'github-updater' ) , [ $ this , 'is_private_repo' ] , 'github_updater_install_' . $ type , $ type ) ; }
Add remote install settings fields.

@param string $type
Add remote install settings fields .