/**
* Get instance of the theme that implements Themes interface.
*
* @return ThemeInterface Returns instance of the theme that implements Themes interface.
*
* @access public
*/
public static function getTheme(): ThemeInterface
Examples
use Thermage\Thermage;
$theme = Thermage::getShortcodes()::getTheme();
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.