/** * callback when admin notices are being printed */ function _loco_hook_admin_notices() { if (defined('WPLANG') && LocoAdmin::is_self() && WPLANG && 3 < (int) $GLOBALS['wp_version']) { LocoAdmin::warning(Loco::__('WPLANG is deprecated and should be removed from wp-config.php')); } LocoAdmin::flush_notices(); }