質問編集履歴
2
example\.com
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
//外部サイト投稿タイトル取得
|
36
36
|
|
37
|
-
$url = "http://
|
37
|
+
$url = "http://example.com/wp-json/wp/v2/member/";
|
38
38
|
|
39
39
|
$wp_api_posts = wp_remote_get($url);
|
40
40
|
|
1
\.
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,6 +54,10 @@
|
|
54
54
|
|
55
55
|
}
|
56
56
|
|
57
|
+
|
58
|
+
|
59
|
+
//差分投稿タイトルを取得
|
60
|
+
|
57
61
|
print_r(array_diff($post_title, $all_title));
|
58
62
|
|
59
63
|
```
|