Which file of WordPress would I include in a totally independent PHP script which not need to generate a webpage as output, only modify the database with the WordPress classes and functions?
Asked
Active
Viewed 104 times
2 Answers
0
Sounds like it should be in its own new file. I could elaborate if you gave more information about exactly what you are trying to achieve.

George Litchfield
- 70
- 1
- 13
-
I want to write a script which scrape CSV files from shops and insert the products from the CSV into the database. – kukko Aug 10 '16 at 17:35
-
1
-
0
I finally found it.
If you simply include the wp-load.php from the root directory of the WordPress site, you got the full functionallity of WordPress, but it will not generate output.

kukko
- 643
- 10
- 21