Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mmarj/71c270b3009b0d08a5f198232fbdbd70 to your computer and use it in GitHub Desktop.
Save mmarj/71c270b3009b0d08a5f198232fbdbd70 to your computer and use it in GitHub Desktop.
Hide HappyAddons Pro Elementor widgets from the editor left sidebar
/* Hide HA Pro Elementor widgets from the editor left sidebar */
function hide_happy_addons_pro_category_widgets_from_editor() {
echo '<style>
#elementor-panel-category-happy_addons_pro_category{
display: none !important;
}
</style>';
}
add_action('admin_init', 'hide_happy_addons_pro_category_widgets_from_editor');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment