Function __global->wysiwyg_on
Definitions
sources/form_templates.php
- Find whether WYSIWYG is currently on.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $default | ?string | No | No | Null | N/A | N/A | Comcode that might be WYSIWYG edited (null: none) |
Returns
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether WYSIWYG is currently on.
*
* @param ?string $default Comcode that might be WYSIWYG edited (null: none)
* @return boolean Whether it is
*/
function wysiwyg_on(?string $default = null) : bool
* Find whether WYSIWYG is currently on.
*
* @param ?string $default Comcode that might be WYSIWYG edited (null: none)
* @return boolean Whether it is
*/
function wysiwyg_on(?string $default = null) : bool

