<?php strip_tags(string $string, array|string|null $allowed_tags = null): string
<?php public function stripShortcodes(string $value): string { return strip_tags(str_replace(['[', ']'], ['<', '>'], $value)); }