/**
* Set a new instance of the shortcodes.
*
* @param Shortcodes $shortcodes Shortcodes.
*
* @return void
*
* @access public
*/
public static function setShortcodes($shortcodes): void
Examples
use function Thermage\anchor;
use function Thermage\render;
// ...
anchor()::setShortcodes(new Shortcodes());
Getting Started
Methods
- bg Set Anchor element background color style.
- blink Set Anchor element blink style.
- bold Set Anchor element bold style.
- border Set Anchor element border style.
- borderColor Set Anchor element border color style.
- color Set Anchor element text color style.
- d Set Anchor element display style.
- dim Set Anchor element dim style.
- display Set Anchor element display style.
- getShortcodes Get Anchor element shortcodes instance.
- getTheme Get Anchor element theme.
- getValue Get Anchor element value.
- href Set Anchor element href.
- italic Set Anchor element italic style.
- ml Set Anchor margin left style.
- mr Set Anchor margin right style.
- mx Set Anchor margin both style.
- pl Set Anchor padding left style.
- pr Set Anchor padding right style.
- px Set Anchor padding both style.
- render Render Anchor element.
- setShortcodes Set Anchor element shortcodes instance.
- setTheme Set Anchor element theme instance.
- strikethrough Set Anchor element strikethrough style.
- underline Set Anchor element underline style.
- value Set Anchor element value.