How to include wp-load.php and have all plugins load as well
Note that simply bootstrapping directly for a one off temporary file is never the optimal solution, and bad practice, and tends to introduce lots of problems. E.g. in your case, you might have WordPress functions available, but no theme files or APIs are triggered. Instead, there are better ways to do it. This isn’t considered … Read more