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

Not able to dynamically update settings #67

Open
picocodes opened this issue Oct 3, 2023 · 0 comments
Open

Not able to dynamically update settings #67

picocodes opened this issue Oct 3, 2023 · 0 comments

Comments

@picocodes
Copy link
Contributor

AUI settings can only be filtered during the init hook:- https://github.com/AyeCode/wp-ayecode-ui/blob/master/includes/ayecode-ui-settings.php#L834

This is too early to check the current page using is_page, which might be useful, for example, when conditionally loading CSS.

Maybe make the settings property public?

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