• Resolved ildacheu

    (@ildacheu)


    Hello,

    I made some custom blocks for my client, they are working fine. I’ve tried to register them with the add_action() function and upload them to wp-content/plugins/newsletter/emails/blocks as described here. In both cases they are showing up in the composer. But whenever the plugin gets updated, they get deleted. Is there a way to prevent this?

    Thank you for your help

Viewing 1 replies (of 1 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    WP deletes the plugin folder on update, for every plugin. Add your blocks on a folder that is not part of a plugin or a theme.

Viewing 1 replies (of 1 total)
  • The topic ‘custom blocks get deleted on update’ is closed to new replies.