Support » Plugin: Feed JSON » Syndication feeds show the most recent

  • The plugin defaults to 10 items but doesn’t respect the setting “Syndication feeds show the most recent” the wp_option value posts_per_rss.

    I fixed it in my plugin by changing this line:

    add_action( 'do_feed_json', array( $this, 'do_feed_json'), 10, 1 );


    add_action( 'do_feed_json', array( $this, 'do_feed_json'), get_option( 'posts_per_rss', 10 ), 1 );


  • The topic ‘Syndication feeds show the most recent’ is closed to new replies.