Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created December 29, 2014 14:16
Show Gist options
  • Save tribulant/6bd3945f66c2dd51ea43 to your computer and use it in GitHub Desktop.
Save tribulant/6bd3945f66c2dd51ea43 to your computer and use it in GitHub Desktop.
<?php
if (class_exists('wpMail')) {
$wpMail = new wpMail();
if (!empty($_GET['page']) && in_array($_GET['page'], (array) $wpMail -> sections)) {
//run remove filters here...
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment