Edit Core Files of Membership 2

Is there anyway I can customize core files and not lose my customization? I’d like to customize “ms_invoice” and other files associated with the plugin.

  • Nastia
    • Support Rock Star

    Hello Kendall Cuellar ,

    Thank you for your question.

    Once the plugin’s update will be out and you’ve customized the plugin’s files all the changes will be lost. So if you need an additional feature, the mu-plugin is the best solution to fo with.

    The invoice files can be found in the directories shown bellow:


    If you need to customize the invoice template only, copy single-ms_invoice.php to your current theme folder and edit the template from there. Better to create a child theme and add the file there, so it won’t be lost after an update.

    Customizing a template will require some PHP knowledge, if you are not familiar with PHP, please feel free to post a new job in the Jobs & Pros section so a skillful developer can do this for you.

    Hope this helps!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.