tatsumichannnnnn
New member
@samify101 here the codeYou can insert it into your child theme's function.php file or use the Code Snippets plugin:
include_once ( ABSPATH . 'wp-admin/includes/plugin.php' ); foreach (array( 'daftplug-instantify', ) as $plugin) { $path = sprintf('%s/%s.php', $plugin, $plugin); if (!is_plugin_active( $path )) { activate_plugin( $path ); add_action( 'admin_notices', function() use ($plugin) { echo '<div class="updated"><p>' . sprintf('<strong>%s</strong> plugin is required & auto-enabled by the current theme.', $plugin) . '</p></div>'; } ); } }