回答編集履歴
1
追記
test
CHANGED
@@ -8,7 +8,25 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
11
|
-
|
19
|
+
失敬
|
20
|
+
|
21
|
+
> (string[]) An array of email addresses to receive a comment notification.
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
と書いてあった。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
だからこんな感じで。
|
12
30
|
|
13
31
|
```
|
14
32
|
|
@@ -20,7 +38,9 @@
|
|
20
38
|
|
21
39
|
$post_id = $post->ID;
|
22
40
|
|
41
|
+
//$email = get_post_meta( $post_id, 'メタキー', true );
|
42
|
+
|
23
|
-
$email = get_post_meta( $post_id, 'メタキー', true );
|
43
|
+
$email[] = get_post_meta( $post_id, 'メタキー', true );
|
24
44
|
|
25
45
|
return $email;
|
26
46
|
|