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

add carbon_fields_get_assets_context filter to allow forcing of context #866

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

joeyblake
Copy link
Contributor

Current carbonfields checks if wp-element is equeued to determine which context to load (gutenberg/classic) Plugins can break this lookup by enqueueing wp-element on their own for example the Yoast plugin. This filter allows forcing of asset context in that situation.

Fix #857

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

Successfully merging this pull request may close these issues.

Conflict with Yoast
1 participant