• Resolved r0ss26

    (@r0ss26)


    Hi,

    I have edited the ‘PDb_List_Query’ class within the ‘PDb_List_Query.class.php’ file in order to add some functionality however I assume these changed would get lost with any updates? What is the best way to modify the class without losing changes when updated are released?

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It is advised you do not make changes directly to the plugin. I have provided several filters and hooks (in addition to custom display templates) that will allow you to add your changes to the plugin in a way that will survive updates.

    Participants Database API

    If what you want to do cannot be accomplished using filters, hooks or custom templates, then you pretty much have to just keep a local copy of your modified class, then whenever you want to update, you need to merge your changes into the plugin class file.

Viewing 1 replies (of 1 total)

The topic ‘Editing classes’ is closed to new replies.