WordPress tip: Insert posts programmatically

Posted on February 10th, 2010 at 9:38 am by admin

0


Just paste the following code anywhere on WordPress theme files. If you want to test, I recommend pasting it in your functions.php file.That’s all you have to do. Once executed, this code will insert a new post into WordPress database.

via WordPress tip: Insert posts programmatically.