Hi @ivitae,
here are some important infos if you want to create a script on your own that directly interacts with the WordPress database:
A location consists of these database entries:
- wp_posts table: An entry of post_type oum-location
- wp_postmeta table:
- An entry with meta_key _oum_location_key containing a serialized object with details on the location
- An entry with meta_key _oum_location_image
- An entry with meta_key _oum_location_audio
I would recommend to inspect your database for an existing location to understand how location data is stored. After that it should be possible to write a custom script that created, updates or deletes locations.
Hope this helps,
Daniel