Title: Unregister Elementor Widgets
Last modified: October 23, 2023

---

# Unregister Elementor Widgets

 *  Resolved [auditt](https://wordpress.org/support/users/auditt/)
 * (@auditt)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/unregister-elementor-widgets/)
 * Hi there,
 * first of all: awesome plugins, awesome work! Keep it going!
 * Now to my question: How can I deactivate or unregister the elementor widgets 
   that your both plugins, PayPal and Stripe, adds?
 * Thank you and best regards

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/unregister-elementor-widgets/#post-17144456)
 * Hi [@auditt](https://wordpress.org/support/users/auditt/)
 * Glad to hear you like our plugins.
 * > How can I deactivate or unregister the elementor widgets that your both plugins,
   > PayPal and Stripe, adds?
 * Only the PayPal plugin register Elementor widgets, the Stripe plugin offers shortcodes
   which you can use. Can you go into detail on why you’re wanting to unregister
   the PayPal Elementor Widgets?
 * Kind Regards
 *  Thread Starter [auditt](https://wordpress.org/support/users/auditt/)
 * (@auditt)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/unregister-elementor-widgets/#post-17144669)
 * Thank you for your response.
 * For my client work, I have the the requirement to provide only specific elementor
   widgets and the PayPal Elementor Widgets belong to a collection I have to remove.
 * Thank you.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/unregister-elementor-widgets/#post-17144772)
 * Thanks for that explanation. Here is an example of how to remove:
 *     ```wp-block-code
       add_action('woocommerce_init', function(){
           try{
       	$widget_ctrl = \PaymentPlugins\WooCommerce\PPCP\Main::container()->get('PaymentPlugins\PPCP\Elementor\WidgetController');
               remove_action('elementor/widgets/register', [$widget_ctrl, 'register_widgets']);
           }catch(\Exception $e){
   
           }
       }, 50);
       ```
   
    -  This reply was modified 2 years, 6 months ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Unregister Elementor Widgets’ is closed to new replies.

 * ![](https://ps.w.org/pymntpl-paypal-woocommerce/assets/icon-256x256.png?rev=2718338)
 * [Payment Plugins for PayPal WooCommerce](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/unregister-elementor-widgets/#post-17144772)
 * Status: resolved