How to disable admin notice in child theme? [closed]

If you’re sure you don’t need those plugins and if TGM is not tied up with any required licenses for your plugins, just pull TGM Plugin Activation right out.

It’s a three step process. One: find and delete the plugin registration function.

    <?php
/**
 * Required and Recommended Plugins
 */
function prefix_register_plugins() {

    /**
     * Array of plugin arrays. Required keys are name and slug.
     * If the source is NOT from the .org repo, then source is also required.
     */
    $plugins = array(

        // WordPress SEO
        array(
            'name'     => 'WordPress SEO by Yoast',
            'slug'     => 'wordpress-seo',
            'required' => false,
        ),
        ...
    );

    tgmpa( $plugins );
}
add_action( 'tgmpa_register', 'prefix_register_plugins' );

Two: find and delete the require_once() call that references the TGMPA class file.

<?php
/**
 * Include the TGM_Plugin_Activation class.
 */
require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';

Three: remove class-tgm-plugin-activation.php as it’s not needed any more.