I wanted to ask if there is any way to add styles to a AttributeString, such as an icon, color, etc., through a PHP method. For example, in the Get method.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I wanted to ask if there is any way to add styles to a AttributeString, such as an icon, color, etc., through a PHP method. For example, in the Get method.
Thank you
What exactly are you trying to accomplish?
Based on what you need, it may be better to create a custom attribute definition; or just inject some custom CSS or something.