• Resolved rivenverse

    (@rivenverse)


    I don’t need them, I have my own beautiful Plus/Minus, why I must see notices about your plugins even after I close them? It must be optional, but when I close it, it shows up again after page reload.

    When I install it, it asking me about activation, all the time, over and over again. And if I activate it, it totally destroys my design. How to disable it?

    “Woo Product Table” requires “Quantity Plus/Minus Button for WooCommerce” to be Installed and Activated.

    • This topic was modified 5 years, 8 months ago by rivenverse.
    • This topic was modified 5 years, 8 months ago by rivenverse.
    • This topic was modified 5 years, 8 months ago by rivenverse.
    • This topic was modified 5 years, 8 months ago by rivenverse.
Viewing 3 replies - 1 through 3 (of 3 total)
  • remove those lines from woo-product-table.php

    //Qty Plus/Minus Button Plugin Compulsory for Our Product Table Plugin
            $plugin = 'wc-quantity-plus-minus-button/init.php';
            $link_text = '<strong><a href="' . esc_url( 'https://wordpress.org/plugins/wc-quantity-plus-minus-button/' ) . '" target="_blank">' . esc_html__( 'Quantity Plus/Minus Button for WooCommerce', 'wpt_pro' ) . '</a></strong>';
            //Check Installation of Quantity Plus Minus Button Plugin
            if( !isset( $installed_plugins[$plugin] ) ) {
                self::$own['plugin']        = $plugin;
                self::$own['plugin_slug']   = 'wc-quantity-plus-minus-button';
                self::$own['type']          = 'warning';
                self::$own['btn_text']      = 'Install Now';
                $message = sprintf(
                       esc_html__( '"%1$s" requires "%2$s" to be Installed and Activated.', 'wpt_pro' ),
                       '<strong>' . esc_html__( 'Woo Product Table', 'wpt_pro' ) . '</strong>',
                        $link_text                   
            );
            self::$own['message']           = $message;//'You to activate your Plugin';
            add_action( 'admin_notices', [ $this, 'admin_notice' ] );
            }
           
                
            //Check Activation Of that Plugin
            if( isset( $installed_plugins[$plugin] ) && !is_plugin_active( $plugin ) ) {
                self::$own['type']      = 'warning';
                self::$own['perpose']   = 'activation';
                self::$own['plugin']    = 'wc-quantity-plus-minus-button/init.php';
                self::$own['btn_text']  = 'Activate Now';
                $message = sprintf(
                       /* translators: 1: Plugin name 2: WooPrdouct Table */
                       esc_html__( '"%1$s" recomends "%2$s" to be activated.', 'wpt_pro' ),
                       '<strong>' . esc_html__( 'Woo Product Table', 'wpt_pro' ) . '</strong>',
                        $link_text 
                    );
                self::$own['message']   = $message;//'You to activate your Plugin';
                add_action( 'admin_notices', [ $this, 'admin_notice' ] );
            }
    
    Plugin Author Saiful Islam

    (@codersaiful)

    To Diable plugin recommend Notice, use following filter to your child theme or u can use Code Snipet Plugin.
    add_filter( 'wpto_disable_recommend_noti', '__return_true' );

    N.B: This filter is only available on latest version. For now – to update to latest, re-install Woo Product Table plugin.

    Plugin Author Saiful Islam

    (@codersaiful)

    Dear @faisal1456 , Thanks a lot for your comment. Actually I have added a filter for use, where user able to easily handle.

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

The topic ‘How to remove notices about other plugins?’ is closed to new replies.