I would like to import XML with PHP.
I created a deployment script for WordPress and a PHP page which create a XML file with my menus, my contents etc...
But I have to import my file with the import button on the admin section.
Is there a way to import directly with PHP or any other language ?
(I know there is a way, but I started reading WordPress files and aborted it because it's too hard for me, PHP-beginer)