Skip to content

Instantly share code, notes, and snippets.

@nosilver4u
Last active March 10, 2022 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosilver4u/1053a73a2dd3c04b37cbdbae21807462 to your computer and use it in GitHub Desktop.
Save nosilver4u/1053a73a2dd3c04b37cbdbae21807462 to your computer and use it in GitHub Desktop.
Prevent Easy IO from parsing RSS feed
<?php
/*
Plugin Name: Easy IO Feed Bypass
Version: 1.0.0
*/
add_filter( 'exactdn_skip_page', 'easyio_feed_bypass', 10, 2 );
function easyio_feed_bypass( $bypass, $uri ) {
if ( false !== strpos( $uri, '/feed/' ) ) {
return true;
}
return $bypass;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment