-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FEATURE REQUEST] WP CLI Command to regenerate the CSS #2161
Comments
I just added a PR #2177 which adds this command. I will appreciate feedback on a few points -
|
Please consider this. I would like to have a control on flushing CSS files too. |
I have made this as a WP Cli package which you can use in order to get this functionality - https://github.com/Nikschavan/elementor-commands/ |
Wow, appreciated! Thanks :) |
Hi, @Nikschavan , I was trying to run Any idea what is wrong? Thanks for your advice. |
@Nikschavan It is possible that the Elementor license can be activated through WP-CLI ?? just as you do with ASTRA ??? .. create a request for it to add it but surely they will delay in considering it .. it would take you a long time to develop it your friend? ... I would thank you infinitely. Thank you! |
Thank @Nikschavan ! |
Hi, Is there a way via CLI to generate the CSS file of each page ? thanks |
This command can be chained in the automatic site migration tools to clear the cache after the site is migrated to live from staging or vice-versa.
Right now this can be quickly run from WP CLI like this -
wp eval "Elementor\Plugin::$instance->posts_css_manager->clear_cache();"
Although it would be nice to have this as a dedicated command.The text was updated successfully, but these errors were encountered: