helpfulpress
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Hope this is fixed in newer versions. I solved problem by editing the plugin file disable-admin-notices/admin/boot.php and commenting out the section below. Please do so at your own discretion and test first! Remove or comment out:
/** * Print admin notice: "Would you like to send them for spam checking?" * * If user clicked button "Yes, do it", plugin will exec action, * that put all unapproved comments to spam check queue. */ add_action( 'wbcr/factory/admin_notices', function ( $notices, $plugin_name ) { if ( $plugin_name != WDN_Plugin::app()->getPluginName() ) { return $notices; } $page_url = 'https://clearfy.pro/disable-admin-notices/'; $notice_text = sprintf( __( 'Thanks for using the Disable admin notices plugin! If you need support or all the features of the plugin, please buy the pro version <a href="%s">Get PRO</a>' ), $page_url ); $notices[] = [ 'id' => 'wdan_get_premium', 'type' => 'success', 'dismissible' => true, 'dismiss_expires' => 0, 'text' => '<p><strong>Disable Admin Notices Individually:</strong><br>' . $notice_text . '</p>' ]; return $notices; }, 10, 2 );- This reply was modified 5 years, 9 months ago by Yui. Reason: please use CODE button for proper formatting
Viewing 1 replies (of 1 total)