[b][i][u]Bold, italics, underline[/u][/i][/b]'; $code = new \Decoda\Decoda($string); $code->whitelist('b', 'i')->addFilter(new \Decoda\Filter\DefaultFilter()); echo $code->parse(); ?> <h2>Disabling hooks or filters</h2> <?php $string = '[b]Bold[/b] [i]Italics[/i] [u]Underline[/u] [s]Strike through[/s] [b][i][u]Bold, italics, underline[/u][/i][/b]'; $code = new \Decoda\Decoda($string); $code->resetHooks()->resetFilters(); echo $code->parse(); ?> <h2>Disable tag parsing</h2> <?php $string = '[b]Bold[/b] [i]Italics[/i] [u]Underline[/u] [s]Strike through[/s] [b][i][u]Bold, italics, underline[/u][/i][/b]'; $code = new \Decoda\Decoda($string); $code->defaults()->disable(); echo $code->parse(); ?>