Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ulicgn out of the box, we don’t have the option to apply the filter to a specific feed source. Please allow me to check with the dev team on the same.

    Thread Starter ulicgn

    (@ulicgn)

    Thanks for considering. I have, however, found a different solution meanwhile.

    Hi @ulicgn to achieve this the filter needs to be modified as follows.

    add_action(‘wprss_fetch_single_feed_hook’, function($feedId) {

    $syncFeeds = [1, 2, 3, 5, 8, 13, 21]; 
    if (in_array($feedId, $syncFeeds)) { 
    wprss_delete_feed_items_of_feed_source($feedId); 
    } 
    }, 9);

    You will need to edit the second line to specify the feed IDs to sync between the square brackets (where we have “1, 2, 3, 5, 8, 13, 21” as an example).

    It’s crucial that you add a comma between each feed ID, as this will cause a PHP error that breaks the site.

    You can find the feed IDs from the Feed Sources list. The ID will appear underneath the feed’s name when you move the mouse over that feed’s row in the table.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sync Items PER FEED’ is closed to new replies.