MemberPress: Mailchimp Feed Unblocker

function allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[‘allow_mailchimp’] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘allow_mc_through’, 11, 3 );Continue reading

Stop EDD Mailchimp Sync

add_action( ‘admin_footer’, ‘prefix_mailchimp_stop_sync’ ); /** * Stop the Mailchimp sync from running. * This is a temporary function to stop the sync from running and can be deleted once the sync is stopped. * * @return void */ function prefix_mailchimp_stop_sync()…Continue reading

MemberPress: MailChimp Feed Unblocker

function mepr_allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[ ‘allow_mailchimp’ ] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘mepr_allow_mc_through’, 11, 3 );Continue reading