Hi,
When activating a plugin, how can i display an error message if some system
requirements are not ok.
thanks
add_action('activate_' . 'myplugin.php', 'install');
function install() {
if (system_requirements()) do_install();
else // ==> 'system
requirements ko'
}