Created
March 13, 2018 08:18
-
-
Save hideokamoto/8f6fb1d24e8103f30e788ae32f8efa80 to your computer and use it in GitHub Desktop.
C3 CloudFront Cache Controllerのcronリトライを無効化する
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 | |
/** | |
* @package c3-cloudfront-clear-cache | |
* @version 0.1 | |
*/ | |
/* | |
Plugin Name: C3 Disabled cron retry | |
Plugin URI: https://gist.github.com/ | |
Description: Disabled to regist retry action to wp-cron. | |
Version: 0.1 | |
Author URI: https://wp-kyoto.net | |
*/ | |
add_filter('c3_disabled_cron_retry', function () { | |
return true; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment