Skip to content

Public WordPress documentation

wp-cli

WP-CLI force reinstall

December 5, 2024 by public documentation
Categories Standard Operating Procedures, Tools Tags force, reinstall, wp-cli Leave a comment

Purge revisions, but keep the defined amount

May 28, 2024 by public documentation

This will keep the defined amount. All other instructions merely delete all revisions and/or use SQL … ending up with many orphaned records on other tables. https://github.com/trepmal/wp-revisions-cli

Categories Tools Tags revisions, wp-cli Leave a comment

WP-CLI force specific PHP version

November 29, 2023 by public documentation

If you need to force a different version on a system with multiple PHP versions: user whereis source https://wordpress.stackexchange.com/a/398533/36159

Categories Standard Operating Procedures, Tools Tags php, wp-cli Leave a comment

WP-CLI url domain replace

November 21, 2023 by public documentation

is Elementor present? Also perform this Source https://developers.elementor.com/docs/cli/

Categories Standard Operating Procedures, Tools Tags elementor, search-replace, wp-cli Leave a comment

WP-CLI DB export

November 9, 2023 by public documentation
Categories Standard Operating Procedures Tags database, wp-cli Leave a comment

Is WP-cli present?

November 21, 2023November 8, 2023 by jens01

Yes, command is wp as well as wp-cli

Categories Infra/stack, Tools Tags wp-cli Leave a comment
Filters
Filters

 

Category
Tags
Show (6)
Cancel

Recent Comments

No comments to show.
© 2025 Public WordPress documentation • Built with GeneratePress