Last active
May 13, 2022 19:15
-
-
Save DumahX/0445f657bdbb032e938828539e614f3d to your computer and use it in GitHub Desktop.
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 | |
/* | |
INSTRUCTIONS FOR THIS CODE: | |
On your RSS URL in Aweber add &allow_aweber=true to the end of it. | |
Then copy the below code and paste it into a plugin like My Custom Functions or Code Snippets on your site. | |
This will allow Aweber through the content blocks. | |
*/ | |
function allow_aweber_through($block, $post, $uri) { | |
if(isset($_GET['allow_aweber'])) { | |
$block = false; | |
} | |
return $block; | |
} | |
add_filter('mepr-pre-run-rule-content', 'allow_aweber_through', 11, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment