Skip to contents

Obtain a theme's Bootstrap version

Usage

theme_version(theme)

Arguments

theme

A bs_theme() object.

Value

Returns the major version of Bootstrap used in the theme.

See also

Other Bootstrap theme utility functions: bootswatch_themes(), bs_get_variables(), builtin_themes(), theme_bootswatch(), versions()