render_noscript_html(); ?>
Notice::TYPE_SUCCESS,
'active_callback' => function ( $hook_suffix ) {
if ( 'plugins.php' !== $hook_suffix ) {
return false;
}
$network_wide = is_network_admin();
$flag = $this->activation_flag->get_activation_flag( $network_wide );
if ( $flag ) {
// Unset the flag so that the notice only shows once.
$this->activation_flag->delete_activation_flag( $network_wide );
}
return $flag;
},
'dismissible' => true,
)
);
}
}