I would like to hide irrelevant widgets (Wordpress widgets and plugin registered widgets) so they cannot be used in the builder. I have a plugin that successfully hides both types of widgets in the regular widgets page, but it does not affect the widgets shown in the builder. Any php or css code would also be helpful.
I have made 1 easy custom module from the example module plugin you provide and it works fine. So an even better idea would be if I can just make any Wordpress widget a custom module. Then I can just disable the Widgets section all together. If this is easier, how do I do this?
I would like to rename the wording in the builder “WordPress Widgets” to something else. If I just get rid of the Wordpress Widgets section, then ignore this step.
This hides the Archives widget. You just need to get your widget’s data-widget name via the dev tool, I use Chrome but you’re free to use a browser of your choice. So it will be span.fl-builder-block.fl-builder-block-module followed by the data-widget’s name in brackets [data-widget=“WP_Widget_Archives”]
#2 This is possible by overriding the module from your theme. Complete instructions are outlined here.
I find this solution a bit easier compared to converting the entire module into a custom module which you will have to modify to hide specific widgets you want to be hidden.