how to turn off recommended plugins activation nag

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support how to turn off recommended plugins activation nag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32112
    palmtree
    Participant

    Hi Code master,

    I use child theme to customize your invent theme.
    I have a request from users/administrator that they don’t want to see the recommended plugin activation nagging.
    There is a dismiss or icon close button though ideally we don’t want to see the dialog box asking activation.

    I have used all the required plugins but some are upgraded version (so standard version isn’t activated) such as Livemesh SiteOrigin Widgets Pro and The event calendar Pro.

    I would like to know if there is a simple code that perhaps me adding in functions.php (of the child theme) to turn off those notification. It would be amazing if you could let me know.

    Thank you!

    #32114
    Raghavendra
    Moderator

    You can use the following code fragment in your child theme –

    
    function mo_register_required_plugins() {
        return false;
    };
    #32115
    Raghavendra
    Moderator

    You can also use this code snippet –

    add_action( 'tgmpa_register', 'mo_remove_my_action', 9 );
    function mo_remove_my_action(){
        remove_action('tgmpa_register', 'mo_register_required_plugins', 10);
    }
    #32116
    palmtree
    Participant

    Thank you for your support always!
    I really appreciate it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.