How to remove link from an image in a post?

When image is being added in a post it is being wrapped with a <a href></a>
I want to know which class controls this segment and where I can find a decent doc for this kind of problems because wp docs sucks when it comes to development and I just started working with WordPress and I don’t want to dig in a bunch of code just to solve a simple problem. Cheers!

Related posts

Leave a Reply

3 comments

  1. Goto Settings->Media->Auto-embeds->Uncheck the box( When possible, embed the media content from a URL directly onto the page).Hit save and problem solved.This is the Permanent way.:)
    enter image description here