Is there a simple replacement for the ecco() function in the new Kirby 3? I use it a few places on my site to do class changes based on specific parameters and it’s very clean, but seems to not be working with the new version.
Here is the code I’m currently using, but there are several others throughout my site:
<h3 class="dark <?php ecco($page->title()->length() > '50', 'small') ?><?php ecco($page->title()->length() > '100', 'est') ?>">
Thanks for any advice!