Comprehensive List of WordPress Action Hooks 포괄적인 목록을 wordpress 액션 후크

For WordPress Plugin and Theme Developers by 플러그 접속식 및 테마의 개발자를위한 Plugin Developer 플러그인 개발

This contains all the available action hooks (documented as well as undocumented) for WordPress plugin and theme developers. 사용할 수있는 작업이 모두 포함 후크 (문서화뿐만 아니라 밀입국)에 플러그 접속식 및 테마 개발자를합니다. All available documentation on these hooks have been updated from WordPress Codex. 설명서에서 사용할 수있는 모든 이들로부터 후크 wordpress 사본이 업데이 트되었습니다.

Source file and line number information is provided to allow you to find more details about the hook. 원본 파일과 행 번호 정보가 제공되는 후크에 대한 자세한 정보를 찾을 수있습니다. Please maximize your browser for better display. 더 나은 디스플레이하시기 바랍니다 브라우저를 극대화할 수있습니다.

Note: You may also want to refer 참고 사항 :를 참조 할 수도있습니다 WordPress 2.x Filters - Comprehensive List for Plugin and Theme Developers wordpress 2.x 필터 - 포괄적인 목록을 작성하는 플러그인 및 테마의 개발자 . 합니다.

No. 아니오. Action 액션 Source File 소스 파일 Line
No. 아니오.
Comments 코멘트
1 wp_logout wp-login.php 백린 - login.php 25 25
2 lost_password wp-login.php 백린 - login.php 38 38
3 retreive_password wp-login.php 백린 - login.php 100 100
4 retrieve_password wp-login.php 백린 - login.php 101 101
5 password_reset wp-login.php 백린 - login.php 137 137
6 wp_authenticate wp-login.php 백린 - login.php 189 189
7 일곱 wp_login wp-login.php 백린 - login.php 201 201
8 rss_head wp-rss.php 백린 - rss.php 22 22
9 rss_item wp-rss.php 백린 - rss.php 33 33
10 template_redirect wp-includes\template-loader.php 백린 - 포함 \ 템플릿 - loader.php 3 3

No 아니오
parameter. 매개 변수를합니다. Executes before the determination of the template file to be used to display 서식 파일을 실행 파일을 결정하기 전에 표시하는 데 사용
the requested page. 요청한 페이지를합니다. Useful for providing additional templates based on request criteria. 템플릿을 기반으로 제공 요청을 관련 기준에 유용합니다.
Example (pedagogical, not useful): Redirect all requests to the all.php template file 예 (교육, 유용하지 않음) : all.php 템플릿 파일을 리디렉션하는 모든 요청을
in the current themes’ directory. 현재 테마를 '디렉토리합니다.

function all_on_one () { 기능을 all_on_one () (
include(TEMPLATEPATH , (templatepath
. 합니다. ‘/all.php’); '/ all.php');
exit; 출구;
} )
add_action(’template_redirect’, add_action ( 'template_redirect',
‘all_on_one’); 'all_on_one');

11 wp_meta wp-includes\template-functions-general.php 백린 - 포함 \ 템플릿 - 함수 - general.php 59 59 No 아니오
parameter. 매개 변수를합니다. Executes in the 실행을
  • Meta 메타
  • section of the included Theme’s 섹션에 포함된 테마의
    sidebar.php’s. sidebar.php의 실험 Useful for insertion of additional content in meta section. 메타 섹션의 추가 콘텐츠를 삽입 유용합니다.

    12 mce_options wp-includes\js\tinymce\tiny_mce_gzip.php 백린 - 포함 \ js \ tinymce \ tiny_mce_gzip.php 144 144
    13 tinymce_before_init wp-includes\js\tinymce\tiny_mce_gzip.php 백린 - 포함 \ js \ tinymce \ tiny_mce_gzip.php 150 150
    14 profile_update wp-includes\registration-functions.php 백린 - 포함 \ 등록 - functions.php 76 76
    15 user_register wp-includes\registration-functions.php 백린 - 포함 \ 등록 - functions.php 78 78
    16 private_to_published wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 175 175 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes when a post is moved from private to published 게시물이 이동하면 민간를 수행 출판
    status.
    17 edit_post wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 178 178 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes every time a post is edited. 게시물이 편집한 때마다을 실행합니다.
    18 publish_post wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 182 182 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes when a post is saved and its status is set to 게시물이의 상태가 저장하고 실행으로 설정되어
    "publish", regardless of its prior setting. "게시"와 관계없이 이전의 설정을합니다. NOTE: to add a hook to this 참고 사항 :이 후크를 추가하려면
    action in 1.2, be sure to specify a priority between 0 and 9. 액션 재고 1.2, 반드시 0과 9 사이의 우선순위를 지정합니다. The generic_ping hook the generic_ping 후크
    is buggy and prevents any lesser priority hooks from working. 어떤 작은 우선 순위는 버그와 후크가 작동을 방지합니다.
    19 save_post wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 206 206 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes when a post is saved to the database. 게시물이 때 데이터베이스에 저장된을 실행합니다.
    20 wp_insert_post wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 207 207
    21 edit_attachment wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 342 342
    22 add_attachment wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 344 344
    23 delete_attachment wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 380 380
    24 delete_post wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 538 538 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes whenever a post is deleted. 게시물이 삭제되었습니다 때마다을 실행합니다.
    25 wp_blacklist_check wp-includes\functions-post.php 백린 - 포함 \ 함수 - post.php 642 642
    26 parse_query wp-includes\classes.php 백린 - 포함 \ classes.php 86 86
    27 parse_query wp-includes\classes.php 백린 - 포함 \ classes.php 238 238
    28 pre_get_posts wp-includes\classes.php 백린 - 포함 \ classes.php 262 262
    29 loop_start wp-includes\classes.php 백린 - 포함 \ classes.php 699 699
    30 loop_end wp-includes\classes.php 백린 - 포함 \ classes.php 706 706
    31 generate_rewrite_rules wp-includes\classes.php 백린 - 포함 \ classes.php 1323 1323 No 아니오
    parameter. 매개 변수를합니다. Executes whenever the rewrite rules are recomputed. 재작성 규칙이 재 때마다을 실행합니다. To modify the computed 계산을 수정합니다
    rules, use the filter rewrite_rules_array instead. 규칙, rewrite_rules_array 대신에 필터를 사용하여합니다.
    32 comment_post wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 52 52 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes when a comment is added through wp-comments.php. 를 실행하면 백린 - comments.php를 통해 의견이 추가됩니다.
    33 comment_flood_trigger wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 126 126
    34 edit_comment wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 191 191 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes whenever a comment is edited. 코멘트는 편집할 때마다 실행합니다.
    35 delete_comment wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 198 198 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes when a comment is deleted. 를 실행하면 코멘트를 삭제합니다.
    36 wp_set_comment_status wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 209 209 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes when the comment status changes. 의견을 실행하면 상태 변경합니다.
    37 pre_ping wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 635 635
    38 wp_set_comment_status wp-includes\comment-functions.php 백린 - 포함 \ 코멘트 - functions.php 794 794
    39 wp_head wp-includes\functions.php 백린 - 포함 \ functions.php 1432 1432 No 아니오
    parameter. Template tag. Executes in the 매개 변수를합니다. 템플릿 태그합니다. 실행을 section. 섹션합니다. Useful for insertion 유용 삽입
    of additional content like metatags or javascript. 메타태그 또는 자바 스크립트의 추가 콘텐츠를 같이합니다.
    40 wp_footer wp-includes\functions.php 백린 - 포함 \ functions.php 1436 1436 No 아니오
    parameter. Template tag. Executes just before the end of the <body> tag. 매개 변수를합니다. 템플릿 태그합니다. 실행을 종료 직전에 <body> 태그를합니다.
    Useful for insertion of additional content or statistics code like Google Analytics. 통계 코드를 삽입시 유용합니다 같은 추가적인 콘텐츠 또는 구글 분석합니다.
    41 comment_form wp-content\themes\classic\comments-popup.php 백린 - 내용 \ 테마 \ 클래식 \ 코멘트 - popup.php 86 86 Receives 수신
    the comment’s post ID as a parameter. 게시물 번호를 매개 변수로 설명합니다. Template tag. 템플릿 태그합니다. Executes after displaying the 표시하는 실행 후
    comment form for a post that allows comments. 의견 양식을 게시할 수 있도록 의견을합니다.
    42 comment_form wp-content\themes\classic\comments.php 백린 - 내용 \ 테마 \ 클래식 \ comments.php 67 67
    43 comment_form wp-content\themes\default\comments-popup.php 백린 - 내용 \ 테마 \ 기본 \ 코멘트 - popup.php 86 86
    44 comment_form wp-content\themes\default\comments.php 백린 - 내용 \ 테마 \ 기본 \ comments.php 98 98
    45 rdf_ns wp-rdf.php 백린 - rdf.php 21 21
    46 rdf_header wp-rdf.php 백린 - rdf.php 32 32
    47 rdf_item wp-rdf.php 백린 - rdf.php 54 54
    48 comment_id_not_found wp-comments-post.php 백린 - 주석 - post.php 11 11 Receives 수신
    the comment’s post ID as a parameter. 게시물 번호를 매개 변수로 설명합니다. Executes when attempting to display the comment 를 실행하려고 시도하면 주석을 표시합니다
    form for a post that does not exist. 존재하지 않는 양식을 게시합니다.
    49 comment_closed wp-comments-post.php 백린 - 주석 - post.php 14 14 Receives 수신
    the comment’s post ID as a parameter. 게시물 번호를 매개 변수로 설명합니다. Executes when attempting to display the comment 를 실행하려고 시도하면 주석을 표시합니다
    form for a post that has closed comments. 양식의 게시물을 폐쇄는 코멘트.
    50 comment_on_draft wp-comments-post.php 백린 - 주석 - post.php 17 17
    51 pingback_post xmlrpc.php xmlrpc.php 1236 1236 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes when a comment is added via XMLRPC. xmlrpc 때 수행을 통해 의견이 추가됩니다.
    52 publish_phone wp-mail.php 백린 - mail.php 146 146 Receives 수신
    the post ID as a parameter. 포스트 번호를 매개 변수로합니다. Executes when a post is added via wp-mail.php. 게시물이들 때 수행을 통해 백린 - mail.php합니다.
    53 rss2_ns wp-rss2.php 백린 - rss2.php 19 19
    54 rss2_head wp-rss2.php 백린 - rss2.php 29 29
    55 rss2_item wp-rss2.php 백린 - rss2.php 52 52
    56 edit_form_advanced wp-admin\edit-form-advanced.php 백린 - 관리 \ 편집 - 양식 - advanced.php 216 216 No 아니오
    parameter. 매개 변수를합니다. Executes during the display of the admin panel’s advanced editing page, 표시를하는 동안 수행의 관리 패널의 고급 편집 페이지,
    just before the 직전에
    is closed that contains the post content textarea. 콘텐츠를 텍스트가 들어있는 게시물이 닫혀있습니다. Useful 유용한
    for inserting additional input fields into the advanced editing form. 추가 입력 필드를위한 고급 편집 양식을 삽입합니다.
    57 admin_menu wp-admin\menu.php 백린 - 관리 \ menu.php 57 57 No 아니오
    parameter. 매개 변수를합니다. Executes after the basic admin panel menu structure is in place. 패널 메뉴 구조는 다음의 기본적인 관리를 실행에 위치합니다. Useful 유용한
    for adding additional menus to the admin panel. 패널에 대한 추가 메뉴를 관리합니다.
    58 admin_head wp-admin\admin-header.php 백린 - 관리 \ 관리 - header.php 312 312 No 아니오
    parameter. 매개 변수를합니다. Executes in the 실행을 section of the admin panel. 섹션의 관리 패널합니다. Useful for insertion 유용 삽입
    of additional content. 의 추가 콘텐츠를합니다.
    59 personal_options_update wp-admin\profile-update.php 백린 - 관리 \ 프로필 - update.php 23 23
    60 activate_ wp-admin\plugins.php 백린 - 관리 \ plugins.php 14 14
    61 deactivate_ wp-admin\plugins.php 백린 - 관리 \ plugins.php 21 21
    62 manage_posts_custom_column wp-admin\edit.php 백린 - 관리 \ edit.php 218 218
    63 delete_comment wp-admin\post.php 백린 - 관리 \ post.php 232 232
    64 check_passwords wp-admin\admin-functions.php 백린 - 관리 \ 관리 - functions.php 388 388
    65 check_admin_referer wp-admin\admin-functions.php 백린 - 관리 \ 관리 - functions.php 971 971
    66 switch_theme wp-admin\admin-functions.php 백린 - 관리 \ 관리 - functions.php 1126 1126
    67 switch_theme wp-admin\admin-functions.php 백린 - 관리 \ 관리 - functions.php 1133 1133
    68 edit_page_form wp-admin\edit-page-form.php 백린 - 관리 \ 편집 - 페이지 - form.php 214 214 No 아니오
    parameter. 매개 변수를합니다. Executes inside the 내부의 실행
    tag on the page editing form. 태그를 페이지에있는 양식을 수정합니다. Useful for 유용
    inserting additional input fields in the page editing form. 편집 양식을 추가로 입력 필드에 해당 페이지를 삽입합니다.
    69 show_user_profile wp-admin\profile.php 백린 - 관리 \ profile.php 105 105
    70 profile_personal_options wp-admin\profile.php 백린 - 관리 \ profile.php 114 114
    71 edit_user_profile wp-admin\user-edit.php 백린 - 관리 \ 사용자 - edit.php 168 168
    72 activity_box_end wp-admin\index.php 백린 - 관리 \ index.php 113 113
    73 admin_footer wp-admin\bookmarklet.php 백린 - 관리 \ bookmarklet.php 101 101 No 아니오
    parameter. 매개 변수를합니다. Executes at the end of the admin panel inside the body tag. 실행의 관리 패널의 끝에 내부의 본문 태그합니다. Useful for 유용
    insertion of additional content. 관련 콘텐츠를 삽입합니다.
    74 edit_category wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 123 123
    75 create_category wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 126 126
    76 add_category wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 127 127
    77 delete_category wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 175 175
    78 delete_user wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 238 238
    79 edit_link wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 297 297
    80 add_link wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 299 299
    81 delete_link wp-admin\admin-db.php 백린 - 관리 \ 관리 - db.php 323 323
    82 simple_edit_form wp-admin\edit-form.php 백린 - 관리 \ 편집 - form.php 70 70 No 아니오
    parameter. 매개 변수를합니다. Executes during the display of the admin panel’s simple editing page, just 표시를하는 동안 수행의 관리 패널의 간단한 편집 페이지에서, 그냥
    before the 이전에
    is closed that contains the post content textarea. 콘텐츠를 텍스트가 들어있는 게시물이 닫혀있습니다. Useful for 유용
    inserting additional input fields into the simple editing form. 간단한 편집 양식을 추가로 입력 필드에 삽입합니다.
    83 admin_footer wp-admin\admin-footer.php 백린 - 관리 \ 관리 - footer.php 9 9
    84 switch_theme wp-admin\themes.php 백린 - 관리 \ themes.php 14 14 Receives 수신
    the name of the current theme as a parameter. 현재 테마의 이름을 매개 변수로합니다. Executes when the blog theme is changed. 이 블로그의 주제는 변화를 실행합니다.
    85 trackback_post wp-trackback.php 백린 - trackback.php 95 95 Receives 수신
    the comment ID as a parameter. 코멘트 번호를 매개 변수로합니다. Executes when a comment is added via trackback.php. trackback.php 때 수행을 통해 의견이 추가됩니다.
    86 atom_ns wp-atom.php 백린 - atom.php 17 17
    87 atom_head wp-atom.php 백린 - atom.php 25 25
    88 atom_entry wp-atom.php 백린 - atom.php 42 42
    89 core_files_loaded wp-settings.php 백린 - settings.php 164 164
    90 plugins_loaded wp-settings.php 백린 - settings.php 187 187
    91 shutdown 종료 wp-settings.php 백린 - settings.php 222 222 No 아니오
    parameter. 매개 변수를합니다. Executes when the page output is complete. 를 실행하면 페이지 출력이 완료합니다.
    92 init wp-settings.php 백린 - settings.php 227 227 Executes 실행
    after WordPress has finished loading but before any headers are sent. wordpress가 완료된 후에 어떤 헤더가 전송되기 전에 로딩합니다. Useful for intercepting 유용 차단
    $_GET or $_POST triggers. $ _get 또는 $ _post 트리거합니다.