Remove a div with ID from the_content WordPress

I was trying to remove a div having some ID from the_content WordPress.
I am trying to achieve something like this

jQuery( "#some_id" ).remove();

but on server side,

I don’t have a clue how I can do this on server side within the_content filter hook.

Read more here: Remove a div with ID from the_content WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *