diff --git a/functions.php b/functions.php index c7bbabe..298d240 100644 --- a/functions.php +++ b/functions.php @@ -1368,31 +1368,6 @@ add_action('admin_footer', 'custom_admin_js'); /* * 后台通知 */ -function notice_welcome() { - ?> -
-

-
- ID, '_new_user', true); - if ($new_user) { - update_user_meta($user->ID, '_new_user', '0'); - - // do something for first login.. e.g., send a custom email - add_action( 'admin_notices', 'notice_welcome' ); - } -} -add_action('wp_login', 'shapeSpace_first_user_login', 10, 2); - function recommend_light() { $msg = 'Strongly recommend "Light" Scheme.'; if ( get_user_locale( get_current_user_id() ) == "zh_CN") {