This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

How to completely remove nag for recommended plugins

  • Creator
  • #24669
    Jason Bobich

    Maybe you’re tired of seeing the recommended plugins nag when you switch between themes? Or you’ve got a ton of users on your site, and you don’t want them seeing this?

    Well, of course, it’s super easy to remove. Just add this to your child theme’s functions.php:

    remove_action('after_setup_theme', 'themeblvd_plugins');

    Note: This also eliminates the unnecessary loading of extra stuff on your WordPress admin. So, while maybe not all that relevant for memory usage on your server, every little bit can help, as this stops the entire plugin management system from even being included.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #26002

    Hey Jason! Do you have a filter to remove nag for themeblvd 2.6.0 update, by chance? Thanks for everything!

    Jason Bobich

    I think this should do it:

     * Remove Theme Blvd welcome message.
    function my_remove_welcome() {
        $welcome = Theme_Blvd_Welcome::get_instance();
        remove_action( 'admin_enqueue_scripts', array($welcome, 'assets') );
        remove_action( 'admin_notices', array($welcome, 'show'), 9 );
        remove_action( 'admin_init', array($welcome, 'disable') );
        remove_action( 'switch_theme', array($welcome, 'reset') );
    add_action('after_theme_setup', 'my_remove_welcome', 1002);
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.