Adding Custom WordPress Image Attributes
When it comes to working with the_content, it’s straightforward. Set up a filter that’s hooked into the_content, define a function that accepts the incoming post content, make your changes, return the modified content. And most of the time, this is …