/**
* Strip shortcodes.
*
* @param string $value Value with shortcodes.
*
* @return string Value without shortcodes.
*
* @access public
*/
public function stripShortcodes(string $value): string
Examples
use Thermage\Thermage;
$shortcodes = Thermage::getShortcodes();
$value = $shortcodes->stripShortcodes('[b]Stay RAD![/b]');
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.