I have used apply_filters() while retrieving the content from WordPress post like:
$content=$query_val->post_content; $content = apply_filters( 'the_content', $content );
When I was using apply_filters() the apostrophe( ' ) in my text shows some characters.After I have removed apply_filters() it shows properly.
So please explain it clearly!! What it is doing? I have referred this link Referal_link, but I'm not clearly understand.