SWEEPPRESS_SIMULATION

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

If you want to test SweepPress without having the plugin remove any data, you can switch the plugin to Simulation mode. Everything works as expected in this mode, but no data is removed. This can be useful if you are testing the cleanup process.

To enable the Simulation mode, you need to add this line into the wp-config.php file:

define( 'SWEEPPRESS_SIMULATION', true );

 

0
0
75
Rate this reference

You are not allowed to rate this post.

Leave a Comment