回答編集履歴
1
修正
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
global $wpdb;
|
12
12
|
|
13
|
-
return $wpdb->get_
|
13
|
+
return $wpdb->get_col("SELECT meta_value FROM {$wpdb->usermeta} WHERE user_id = {$user_id} AND meta_key LIKE '{$key}'");
|
14
14
|
|
15
15
|
}
|
16
16
|
|