I would like to get the images from the_content(), I know I could use a regex to get the images but I wanted to know if there is any other more ‘wordpress way’ for doing this?

I have this within a plugin and I have a filter

 add_filter('the_content', 'myTestContentFunction');

Thank you

Read more here: Retrive images from the_content()


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, ,

Wordpress related questions and answers: