• Resolved alx359

    (@alx359)


    Hi Albert,
    Is it recommended to manually single out is_cart() and is_checkout() with the phastpress_disable filter, or is it really not necessary?

    add_filter('phastpress_disable', function ($disable) {
        return $disable || is_cart() || is_checkout();
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @alx359,

    Well, some people requested it, that’s why this example is there.

    But I’m not sure why they asked for it, as I haven’t seen issues with WooCommerce checkout myself.

    As far as I’m aware, PhastPress should work fine on any page, but if you experience issues I would be happy to check it out.

    –Albert

    Thread Starter alx359

    (@alx359)

    Hi Albert,
    Thanks, that’s what I thought too, but wished to ask still, as some other performance plugins do exclude those pages in the settings (e.g. CF Super Page Cache, WP Fastest Cache), others do so internally (WP-Rocket). Wished to be sure the case with PhastPress, to avoid adding some redundant code in functions.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About phastpress_disable’ is closed to new replies.