• Resolved papydeme

    (@papydeme)


    Hello,

    Very nice Plugin.
    Thanks.

    Just one question: how to disable the “delete” option.
    I could not find info about parameters like editcap, cap or noedit.

    I just want to make sure nobody deletes a row by mistake (even though it asks for confirmation). I want to hide the button completely…
    I want only the Add and update functions.

    Thanks again for the plugin

    https://www.ads-software.com/plugins/wp-db-table-editor/

Viewing 1 replies (of 1 total)
  • Plugin Author bobbysmith007

    (@bobbysmith007)

    You can either enqueue a javascript with a lower priority that removes the button or add a style sheet that hides it. Currently if you can edit, you can delete (they are not separate).

    Sorry for the late reply, I must have missed this.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable the "Delete" option’ is closed to new replies.