Title: Exclude posts older than&#8230; ?
Last modified: August 27, 2019

---

# Exclude posts older than… ?

 *  Resolved [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/exclude-posts-older-than/)
 * Hi there!
 * A client of mine wants to exclude posts that are older than a given month/year.
   I checked the documentation and found the [rp4wp_get_related_posts_sql filter hook](https://www.relatedpostsforwp.com/documentation/exclude-posts-from-specific-categories/)
   but it doesn’t seem to be available with the free version of the plugin as I 
   couldn’t find it in the code (or maybe the documentation is not up-to-date anymore?)
 * Any ideas?
 * Thanks in advance for your help!

The topic ‘Exclude posts older than… ?’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-for-wp/assets/icon-256x256.png?rev=970117)
 * [Related Posts for WordPress](https://wordpress.org/plugins/related-posts-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-for-wp/reviews/)

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 0 replies
 * 1 participant
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/exclude-posts-older-than/)
 * Status: resolved