Skip to Content

bootstrap()

Register the requested version of Bootstrap.

PHP June 18, 2017

Usage

PHP
nebula()->bootstrap($file)

Parameters

$file
(Required) (String) Which file to register or return
Default: None

Parameter Notes

If $file is ‘css’ or ‘js’, it will be registered in WordPress.

If $file is ‘reboot’, the ‘reboot.css’ filepath will be returned.

If $file is empty, the Bootstrap version number is returned as a string of either ‘v3’, ‘v4a5’, or ‘latest’.

Request or provide clarification »

Additional Notes

This checks the Bootstrap Version set in Nebula Options.

Source File

This function was not found in /libs/Options/Options.php. Please report this error.

No Hooks

This function does not have any filters or actions available. Request one?

Override

This function can not be short-circuited with an override filter. Request one?