-1

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?

kukko
  • 643
  • 10
  • 21

2 Answers2

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.

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