Skip to content

epc_exempt_uri_contains runs before theme #1

@vdwijngaert

Description

@vdwijngaert

Great start!

I couldn't help but notice this line of code:

$this->cache_exempt = apply_filters( 'epc_exempt_uri_contains', array( 'wp-admin', '.php', 'checkout', 'cart' ) );

This implies that you can alter the array of cache exceptions. I could be wrong, but doesn't this line of code run before the theme initializes? I think plugins that are being loaded after EPC don't get a chance to hook into that filter as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions