Is it possible to add a row to a TablePress table from the commandline?

Is it possible to add a row to a TablePress table from the commandline?

AkivaAkiva Posts: 2Questions: 1Answers: 0

Sorry I am a bit new to all of this. Came here from Tablepress's documentation.

I have the Tablepress plugin, and I am looking to script and automate the addition of new rows to my tables. Is this something I can be using DataTables for?

And to that: I tried searching for a table in my Wordpress Mysql Database corresponding to the Tablepress table I made; couldn't find it. Was I wrong to assume that a database table was being used to set the content of tablepress's tables?

Thanks.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin
    Answer ✓

    The row.add() method can be used to add a new row on the client-side.

    This document details how you can access the DataTables API.

    Wordpress Mysql Database corresponding to the Tablepress table I made; couldn't find it. Was I wrong to assume that a database table was being used to set the content of tablepress's tables?

    I have no idea how TablePress stored information about the configured tables I'm afraid. You'd need to ask the TablePress author.

    Allan

  • AkivaAkiva Posts: 2Questions: 1Answers: 0

    Perfect response. Thanks Allan for taking the time doing what seems to be an immense amount of volunteer work for your open source project. Best wishes.

This discussion has been closed.