• Resolved darkroomsaredead

    (@darkroomsaredead)


    I am getting automated emails by the hundreds telling me my cache is large. I don’t see an option to turn this off or even throttle it. Am I missing something?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey @darkroomsaredead;
    Best solution would be to fix the cache size issue (see FAQ for more info).

    If you just want to disable the mails being send, you can hook into AO’s API to do so with this one-liner;

    add_filter('autoptimize_filter_cachecheck_sendmail','__return_false');

    hope this helps,
    frank

    Thread Starter darkroomsaredead

    (@darkroomsaredead)

    I am sorry but where do I drop this code? I have not messed around with APIs much. If you could point me in the right direction I would appreciate it. Thanks again.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you could add it to your (child-)theme’s functions.php, but the safer/ easier solution would be to install the code snippets plugin and add it there.

    have a nice weekend!
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automated Emails’ is closed to new replies.