Support » Plugin: TablePress - Tables in WordPress made easy » Retrieve table ID

  • Resolved stebcom

    (@stebcom)


    Hi,

    I need to extract data from tables, including table id, so that I can generate shortcodes to be inserted into post content.
    I saw tables are stored into posts table in the DB, but I can’t find the table id reported in the plugin admin page: where can I find it?

    Thank you very much,

    Stefano

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The table ID (and their connection to a post ID) is stored in the “tablepress_tables” option in the wp_options DB table. There’s a JSON encoded array in that field.

    Regards,
    Tobias

    Thread Starter stebcom

    (@stebcom)

    Found it!
    Thanks a lot!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Retrieve table ID’ is closed to new replies.