Skip to content

Instantly share code, notes, and snippets.

@jeroenlammerts
Created March 17, 2014 09:12
Show Gist options
  • Save jeroenlammerts/9596159 to your computer and use it in GitHub Desktop.
Save jeroenlammerts/9596159 to your computer and use it in GitHub Desktop.
Wordpress RSS limit
<?php
function pre_option_posts_per_rss( $option ) {
return 2;
}
add_filter( 'pre_option_posts_per_rss', 'pre_option_posts_per_rss' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment