/**
* Set a new instance of the theme that implements Themes interface.
*
* @param ThemeInterface $theme Theme interface.
*
* @return void
*
* @access public
*/
public static function setTheme(ThemeInterface $theme): void
Examples
use Thermage\Thermage;
$theme = Thermage::getShortcodes()::setTheme(new RadTheme());
Getting Started
Methods
- add Add shortcode handler.
- addEvent Add shortcode event handler.
- getFacade Get Shortcodes Facade.
- getTheme Get Shortcodes theme.
- parse Parse and processes text to replaces shortcodes.
- parseText Parses text into shortcodes.
- setTheme Set Shortcodes theme.
- stripShortcodes Strip shortcodes.