Skip to content

Instantly share code, notes, and snippets.

@hideokamoto
Created March 13, 2018 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hideokamoto/8f6fb1d24e8103f30e788ae32f8efa80 to your computer and use it in GitHub Desktop.
Save hideokamoto/8f6fb1d24e8103f30e788ae32f8efa80 to your computer and use it in GitHub Desktop.
C3 CloudFront Cache Controllerのcronリトライを無効化する
<?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