Okay
  Public Ticket #488606
This theme recommends the following plugin annoying
Closed

Comments

  • Joey started the conversation

    The notification "This theme recommends the following plugin: Woocommerce." for every single user is annoying if you don't plan to use the woocommerce plugin. I wish when one admin dismissed it, it would be dismissed for all users. Or I wish there was a setting to turn off the notification.

    I know I can edit the functions.php to get rid of it, but I'm worried if I do an update in the future it will come back.

  • Jannik replied

    Hey, I am also interested how to hide the message. Is there a filter for that?

  •  3,028
    Andrew replied

    Hi Jannick,

    I hope you are having an awesome day and thanks for contacting us regarding your query.

    You may accomplish this by utilising the solution below: 

    • Please log into your Wordpress Dashboard as an administrator
    • Install and activate the following plugin: Code Snippets
    • Navigate to Snippets from your WordPress Dashboard and click on Add New
    • Copy/Paste the code into the Code section and add a Description (optional)
    • Click on Save Changes and Activate and leave the Scope on Only run in administration area
    require_once('nectar/tgm-plugin-activation/class-tgm-plugin-activation.php');
    require_once('nectar/tgm-plugin-activation/required_plugins.php');

    Please let me know if there are any more questions that I may answer for you :)

    Cheers! 

  • Jeff replied

    Andrew,

    What "code" do we put into the code snippet? The following does not seem to work:

    require_once('nectar/tgm-plugin-activation/class-tgm-plugin-activation.php');
    require_once('nectar/tgm-plugin-activation/required_plugins.php');