• Resolved sporransoftware

    (@sporransoftware)


    I have a need to programmatically clear cache from the functions.php file. Other cache plugins have this functionality, for example:

    if ( function_exists( ‘rocket_clean_domain’ ) ) {
        rocket_clean_domain();
    }

    Does Breeze also have this functionality, and if so could you please reference the appropriate function or class to use, along with an example.

    I notice this question was asked two years ago but no fully resolved answer was given other than to hunt through the code (which I’ve done but sadly I’m really not that clever to unravel it).

    Many thanks in advance,

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author adeelkhan

    (@adeelkhan)

    Breeze has the following hook to clear all the cache system.
    do_action( ‘breeze_clear_all_cache’ );

    Thread Starter sporransoftware

    (@sporransoftware)

    Brilliant, thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Programmatically Clear Cache’ is closed to new replies.