You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2018. It is now read-only.
save_post 는 포스트나 페이지가 생성되거나 업데이트될 때 트리거되는 액션이다. 그것은 import 되거나, 페이지/포스트 수정 폼에서나, xmlrpg 에서나, 이메일 포스트에서도 일어날 수 있다. 포스트를 위한 데이터는 포스트가 어떻게 수정되었느냐에 따라서 $_POST, $_GET 혹은 전역 변수 $post_data 에 저장된다. 예를 들어서, 빠른 수정은 $_POST 를 사용한다.
이 액션이 포스트가 생성된 바로 다음에 호출되므로, 포스트 객체를 get_post 를 통해서 호출할 수 있다.