• Resolved Zairous

    (@zairous)


    Hi again!
    I am wondering
    If there is a way to bulk edit all tables settings in one go?
    In a way that wont be changed if the plugin is updated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Table settings will never be changed when the plugin is updated. It is however not possible to bulk modify them. You could only alter the defaults that are used for a newly added or imported table, using a plugin filter hook and some custom PHP code.

    Regards,
    Tobias

    Thread Starter Zairous

    (@zairous)

    Hi,
    Thanks for your fast answer
    Is there is a documentation somewhere on how to do that?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, I don’t have specific ones.
    You could take inspiration from https://tablepress.org/extensions/datatables-off-new-tables/ maybe, which changes the default value for the DataTables JS library. The other parameters/settings can be changed in the same way, the array key is usually the same as the corresponding Shortcode parameter (which are listed on https://tablepress.org/faq/documentation-shortcode-table/ ).

    Regards,
    Tobias

    Thread Starter Zairous

    (@zairous)

    Thank you so much, great help as always!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, always happy to help! ??

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Overite All Tables settings’ is closed to new replies.