WordPress.org

Ready to get started?Download WordPress

Forums

Where can I interact w/ the db using functions like wpdb? (2 posts)

  1. wisdomlabs
    Member
    Posted 9 months ago #

    Hi!

    I'd like to write a script that interacts with my google Drive account and my wp database.

    My sense was that some of what I'd like to do should be possible with the wpdb method.
    Some basic questions to that end:

    1) If I write a script to add elements to the db, where would I enter the code and run it?
    2) Will the script need to be in php?

  2. g3legacy
    Member
    Posted 9 months ago #

    I expect you'd write it in as a plugin, in PHP, and I don't know how you'd get info from Google Drive. Do they have an API, something like jSON..?

Reply

You must log in to post.

About this Topic