WordPress.org

Ready to get started?Download WordPress

Forums

RSSImport
[resolved] Customize when to update feed (2 posts)

  1. victor.lillaproducenten
    Member
    Posted 1 year ago #

    Is there any way to make the plugin update its feed at a specific time/interval? For example set it to only look for feeds at 12am everyday.

    http://wordpress.org/extend/plugins/rss-import/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, but not with the plugin.
    PLease write a custom plugin or copy the code to your functions.php of the theme.

    add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a', 'return 1800;' ) );

    1800 in seconds

    more background in my post: http://wpengineer.com/1820/feed-cache-in-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic