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' ] );
}
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.
Dear @faisal1456 , Thanks a lot for your comment. Actually I have added a filter for use, where user able to easily handle.