Wordpress - Strip Image from Content


/ Published in: PHP
Save to your folder(s)

Will strip image from content


Copy this code and paste it in your HTML
  1. <?php echo strip_tags(get_the_content(), '<p><a><h2><blockquote><code><ul><li><i><em><strong>') ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.