質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
以下を参考に、_wp_put_post_revisionにアクションフックをました。
|
78
78
|
|
79
|
-
support.advancedcustomfields.com/forums/topic/no-revision-when-update-from-front-end/
|
79
|
+
support.advancedcustomfields.com/forums/topic/no-revision-when-update-from-front-end/
|
80
80
|
|
81
81
|
|
82
82
|
|
1
説明漏れ
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
・新規作成の場合は、post_typeやpost_statusを指定し、wp_insert_post()を実行
|
46
46
|
|
47
|
-
・更新の場合は、投稿IDを指定し、wp_update_post()を実行
|
47
|
+
・更新の場合は、投稿IDを指定し、(b)の関数をリムーブし、wp_update_post()を実行
|
48
48
|
|
49
49
|
→ (a)の関数が実行される
|
50
50
|
|