Comprehensive List of WordPress Action Hooks WordPressのアクションのリストを包括的フック

For WordPress Plugin and Theme Developers by開発者のWordPressのプラグインやテーマ Plugin Developerプラグインの開発者

This contains all the available action hooks (documented as well as undocumented) for WordPress plugin and theme developers.これには、すべての利用可能なアクションフック(文書だけでなく不法滞在)のWordPressのプラグインやテーマの開発者です。 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 のWP - login.php 25 25
2 lost_password wp-login.php のWP - login.php 38 38
3 retreive_password wp-login.php のWP - login.php 100 100
4 retrieve_password wp-login.php のWP - login.php 101 101
5 password_reset wp-login.php のWP - login.php 137 137
6 wp_authenticate wp-login.php のWP - login.php 189 189
7 wp_login wp-login.php のWP - login.php 201 201
8 rss_head wp-rss.php のWP - rss.php 22 22
9 rss_item wp-rss.php のWP - rss.php 33 33
10 template_redirect wp-includes\template-loader.php のWP -含まれて\テンプレート- 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 11日 wp_meta wp-includes\template-functions-general.php のWP -含まれて\テンプレート-関数- general.php 59 59 Noいいえ
parameter.パラメータを指定します。 Executes in the実行は、
  • Metaメタ
  • section of the included Theme’sテーマのセクションに含まれるもの
    sidebar.php’s. sidebar.phpの' s. Useful for insertion of additional content in meta section.お役にたちました挿入メタ関連のコンテンツを参照してください。

    12 mce_options wp-includes\js\tinymce\tiny_mce_gzip.php のWP -含まれて\ js \ tinymce \ tiny_mce_gzip.php 144 144
    13 13日 tinymce_before_init wp-includes\js\tinymce\tiny_mce_gzip.php のWP -含まれて\ js \ tinymce \ tiny_mce_gzip.php 150 150
    14 14日 profile_update wp-includes\registration-functions.php のWP -含まれて\ユーザ登録するfunctions.php 76 76
    15 15日 user_register wp-includes\registration-functions.php のWP -含まれて\ユーザ登録するfunctions.php 78 78
    16 private_to_published wp-includes\functions-post.php のWP -含まれて\関数機能post.php 175 175 Receives受信
    the post ID as a parameter.郵便番号をパラメータとしてします。 Executes when a post is moved from private to publishedポストを移動するときに実行するよりプライベートを公開
    status.地位。
    17 17日 edit_post wp-includes\functions-post.php のWP -含まれて\関数機能post.php 178 178 Receives受信
    the post ID as a parameter.郵便番号をパラメータとしてします。 Executes every time a post is edited.を実行するたびに、投稿を編集します。
    18 18日 publish_post wp-includes\functions-post.php のWP -含まれて\関数機能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フックのgeneric_ping
    is buggy and prevents any lesser priority hooks from working.レッサーバギーれているため、優先順位は、フックから任意の作業です。
    19 19日 save_post wp-includes\functions-post.php のWP -含まれて\関数機能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 のWP -含まれて\関数機能post.php 207 207
    21 21日 edit_attachment wp-includes\functions-post.php のWP -含まれて\関数機能post.php 342 342
    22 22日 add_attachment wp-includes\functions-post.php のWP -含まれて\関数機能post.php 344 344
    23 23日 delete_attachment wp-includes\functions-post.php のWP -含まれて\関数機能post.php 380 380
    24 delete_post wp-includes\functions-post.php のWP -含まれて\関数機能post.php 538 538 Receives受信
    the post ID as a parameter.郵便番号をパラメータとしてします。 Executes whenever a post is deleted.を実行するときには、投稿を削除します。
    25 25日 wp_blacklist_check wp-includes\functions-post.php のWP -含まれて\関数機能post.php 642 642
    26 26日 parse_query wp-includes\classes.php のWP -含まれて\ classes.php 86 86
    27 27日 parse_query wp-includes\classes.php のWP -含まれて\ classes.php 238 238
    28 28日 pre_get_posts wp-includes\classes.php のWP -含まれて\ classes.php 262 262
    29 29日 loop_start wp-includes\classes.php のWP -含まれて\ classes.php 699 699
    30 30日 loop_end wp-includes\classes.php のWP -含まれて\ classes.php 706 706
    31 generate_rewrite_rules wp-includes\classes.php のWP -含まれて\ 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 のWP -含まれて\コメントするfunctions.php 52 52 Receives受信
    the comment ID as a parameter.コメントの番号としてパラメータを指定します。 Executes when a comment is added through wp-comments.php.実行時のWP - comments.phpを通じてコメントが追加されました。
    33 comment_flood_trigger wp-includes\comment-functions.php のWP -含まれて\コメントするfunctions.php 126 126
    34 edit_comment wp-includes\comment-functions.php のWP -含まれて\コメントする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 のWP -含まれて\コメントする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 のWP -含まれて\コメントする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 のWP -含まれて\コメントするfunctions.php 635 635
    38 wp_set_comment_status wp-includes\comment-functions.php のWP -含まれて\コメントするfunctions.php 794 794
    39 wp_head wp-includes\functions.php のWP -含まれて\するfunctions.php 1432 1432 Noいいえ
    parameter. Template tag. Executes in theパラメータを指定します。 テンプレートタグです。実行は、 section.参照してください。 Useful for insertionお役にたちました挿入
    of additional content like metatags or javascript.メタタグやJavaScriptのようなコンテンツを追加します。
    40 wp_footer wp-includes\functions.php のWP -含まれて\する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.お役にたちました挿入コンテンツや統計のようなコードを追加Google Analyticsのです。
    41 comment_form wp-content\themes\classic\comments-popup.php WP内容\テーマ\クラシック\コメント-する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 WP内容\テーマ\クラシック\ comments.php 67 67
    43 comment_form wp-content\themes\default\comments-popup.php WP内容\テーマ\既定\コメント-するpopup.php 86 86
    44 comment_form wp-content\themes\default\comments.php WP内容\テーマ\既定\ comments.php 98 98
    45 rdf_ns wp-rdf.php のWP - rdf.php 21 21
    46 rdf_header wp-rdf.php のWP - rdf.php 32 32
    47 rdf_item wp-rdf.php のWP - rdf.php 54 54
    48 comment_id_not_found wp-comments-post.php コメント機能post.phpのWP 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のWP 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のWP 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 のWP - mail.php 146 146 Receives受信
    the post ID as a parameter.郵便番号をパラメータとしてします。 Executes when a post is added via wp-mail.php.を実行するときに経由でのWP - mail.phpの投稿が追加されます。
    53 rss2_ns wp-rss2.php のWP - rss2.php 19 19
    54 rss2_head wp-rss2.php のWP - rss2.php 29 29
    55 rss2_item wp-rss2.php のWP - rss2.php 52 52
    56 edit_form_advanced wp-admin\edit-form-advanced.php WPの管理者\編集-フォーム- 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 WPの管理者\ 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 WPの管理者\管理- header.phpに 312 312 Noいいえ
    parameter.パラメータを指定します。 Executes in the実行は、 section of the admin panel. adminのパネルを参照してください。 Useful for insertionお役にたちました挿入
    of additional content.コンテンツを追加します。
    59 personal_options_update wp-admin\profile-update.php WPの管理者\プロファイル- update.php 23 23
    60 activate_ wp-admin\plugins.php WPの管理者\ plugins.php 14 14
    61 deactivate_ wp-admin\plugins.php WPの管理者\ plugins.php 21 21
    62 manage_posts_custom_column wp-admin\edit.php WPの管理者\ edit.php 218 218
    63 delete_comment wp-admin\post.php WPの管理者\しpost.php 232 232
    64 check_passwords wp-admin\admin-functions.php WPの管理者\管理するfunctions.php 388 388
    65 check_admin_referer wp-admin\admin-functions.php WPの管理者\管理するfunctions.php 971 971
    66 switch_theme wp-admin\admin-functions.php WPの管理者\管理するfunctions.php 1126 1126
    67 switch_theme wp-admin\admin-functions.php WPの管理者\管理するfunctions.php 1133 1133
    68 edit_page_form wp-admin\edit-page-form.php WPの管理者\編集ページ- 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 WPの管理者\ profile.php 105 105
    70 profile_personal_options wp-admin\profile.php WPの管理者\ profile.php 114 114
    71 edit_user_profile wp-admin\user-edit.php WPの管理者\ユーザーedit.php 168 168
    72 activity_box_end wp-admin\index.php WPの管理者\ index.phpで 113 113
    73 admin_footer wp-admin\bookmarklet.php WPの管理者\ bookmarklet.php 101 101 Noいいえ
    parameter.パラメータを指定します。 Executes at the end of the admin panel inside the body tag.の最後に実行された場合、 Adminパネル内のbodyタグです。 Useful forお役にたちました
    insertion of additional content.その他のコンテンツを挿入します。
    74 edit_category wp-admin\admin-db.php WPの管理者\管理- db.php 123 123
    75 create_category wp-admin\admin-db.php WPの管理者\管理- db.php 126 126
    76 add_category wp-admin\admin-db.php WPの管理者\管理- db.php 127 127
    77 delete_category wp-admin\admin-db.php WPの管理者\管理- db.php 175 175
    78 delete_user wp-admin\admin-db.php WPの管理者\管理- db.php 238 238
    79 edit_link wp-admin\admin-db.php WPの管理者\管理- db.php 297 297
    80 add_link wp-admin\admin-db.php WPの管理者\管理- db.php 299 299
    81 delete_link wp-admin\admin-db.php WPの管理者\管理- db.php 323 323
    82 simple_edit_form wp-admin\edit-form.php WPの管理者\編集- 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 WPの管理者\管理- footer.php 9 9
    84 switch_theme wp-admin\themes.php WPの管理者\ 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 のWP - 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 のWP - atom.php 17 17
    87 atom_head wp-atom.php のWP - atom.php 25 25
    88 atom_entry wp-atom.php のWP - atom.php 42 42
    89 core_files_loaded wp-settings.php のWP - settings.php 164 164
    90 plugins_loaded wp-settings.php のWP - settings.php 187 187
    91 shutdownシャットダウン wp-settings.php のWP - settings.php 222 222 Noいいえ
    parameter.パラメータを指定します。 Executes when the page output is complete.を実行するときに、ページの出力は完了です。
    92 init initプロセス wp-settings.php のWP - 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トリガします。