The cs_attr_class()
function was removed from Cornerstone at some point between Pro 5.0.8 and Pro 5.1.4. This change broke a custom element I had written, causing a fatal error in its render function:
PHP Fatal error: Uncaught Error: Call to undefined function cs_attr_class() …
The Element API Primer and Element API Reference still show examples that use this function, and the changelog doesn’t mention that it was removed.
Was it removed accidentally, or does the documentation just need to be updated?
Thanks!