Is it possible to override built-in modules inside a plugin?

From the custom module documentation it looks like the preferred way to create custom modules is inside a plugin. Which is what I have done.

However when you get to the overriding built-in modules instructions are only provided for overwriting using a theme:

Is it possible for me to overwrite built-in modules inside my plugin? Or do I need to do it within a theme? If inside a theme then wouldn’t it make sense to just have everything inside of a theme instead of having a separate plugin just for my custom beaver builder modules?

And thanks for the awesome plugin! Creating custom module’s has been absolutely fantastic :slight_smile:

Hey Jason,

Unfortunately, there isn’t currently a way to override them in a plugin. However, you can create yours in a plugin and then disable the built-in modules under Settings > Page Builder > Modules.


Okay, that makes sense. Thanks for the info! I should probably just move all of my custom modules into the theme.