Function Reference: gd_list_check_admin_notices
Summary
List manager admin notices
Source File
gd_list_check_admin_notices() is located in geodir_list_manager/geodir_list_manager.php [Line: 89]
Source Code
function gd_list_check_admin_notices()
{
$errors = gd_list_check_plugin_requirements();
if ( empty ( $errors ) )
return;
// Suppress "Plugin activated" notice.
unset( $_GET['activate'] );
// This plugin's name
$name = get_file_data( __FILE__, array ( 'Plugin Name' ) );
$message = __( ''.$name[0].' has been deactivated.', GEODIRLISTS_TEXTDOMAIN );
printf(
'%1$s
%2$s
',
join( '', $errors ),
$message
);
deactivate_plugins( plugin_basename( __FILE__ ) );
}