Delete “updated” image after 5 day WordPress

I use this code for show updated post. (if post updated show this image).

<?php if (get_the_modified_time('U') > get_the_time('U')) { ?>
 <img class="update" src="<?php bloginfo('template_url'); ?>/images/update.png" alt="Updated">

Now i want after 5 day this “Updated image” deleted from post. and when i again update post this image again add to post …(repeat this action).

How do this ?

thanks

Read more here: Delete “updated” image after 5 day WordPress

Leave a Reply

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