Last active
March 10, 2022 18:03
-
-
Save nosilver4u/1053a73a2dd3c04b37cbdbae21807462 to your computer and use it in GitHub Desktop.
Prevent Easy IO from parsing RSS feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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