Created
July 13, 2018 13:14
-
-
Save aristath/561f1aef46af4902b3318b1627903419 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
$wpe_common = WpeCommon::instance(); | |
foreach ( array( 'trashed_post', 'delete_post', 'edit_post', 'publish_page', 'publish_post', 'save_post' ) as $hook ) { | |
remove_action( $hook, array( $wpe_common, 'purge_varnish_cache' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment