Removing All Custom Widgets
This is a Developer Level doc.
If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, please seek help from a professional. Under our Support Policy, we don't provide support for modifications and customization.
If you want to remove all Ocean custom widgets (from the Appearance > Widgets area), use the following PHP snippet:
// Removes all custom widgets add_filter( 'ocean_custom_widgets', '__return_false' );
All PHP snippets should be added via a child theme's functions.php file.