Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use c3_aws_sdk_path filter #88

Open
joegarb opened this issue Mar 23, 2022 · 0 comments
Open

Unable to use c3_aws_sdk_path filter #88

joegarb opened this issue Mar 23, 2022 · 0 comments

Comments

@joegarb
Copy link

joegarb commented Mar 23, 2022

In #46 it was stated that we can use the c3_aws_sdk_path filter to prevent this plugin from loading the AWS SDK. I'm attempting to do that to resolve conflicts with this plugin redeclaring guzzle classes, since another plugin I use also includes guzzle and the two conflict.

This could be my lack of understanding, but I'm unable to make use of the c3_aws_sdk_path filter because the code in c3-cloudfront-clear-cache.php that calls apply_filters is executed before I can call add_filter in either my functions.php or in my custom plugin.

Please advise if the solution shown in #46 works as stated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant