WordPress 2.x Hooks for Action - Comprehensive List for Plugin and Theme Developers WordPress 2.x крючки действий - полный список плагинов для разработчиков и тема
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 Нет function all_on_one () { функция all_on_one () ( |
| 11 | wp_meta | wp-includes\template-functions-general.php wp-включает \ шаблона-функции-general.php | 59 59 | No Нет parameter. параметр. Executes in the Выполняет в section of the included Theme’s раздел включены темы |
| 12 | mce_options | wp-includes\js\tinymce\tiny_mce_gzip.php wp-включает \ js \ tinymce \ tiny_mce_gzip.php | 144 144 | |
| 13 | tinymce_before_init | wp-includes\js\tinymce\tiny_mce_gzip.php wp-включает \ js \ tinymce \ tiny_mce_gzip.php | 150 150 | |
| 14 | profile_update | wp-includes\registration-functions.php wp-включает \ регистрации-functions.php | 76 76 | |
| 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. после ID в качестве параметра. Executes when a post is moved from private to published Исполняет когда пост перешел от частного к опубликованным status. статус. |
| 17 | edit_post | wp-includes\functions-post.php wp-включает \ функций-post.php | 178 178 | Receives Получает the post ID as a parameter. после ID в качестве параметра. Executes every time a post is edited. Выполняет все время пост отредактирован. |
| 18 | publish_post | wp-includes\functions-post.php wp-включает \ функций-post.php | 182 182 | Receives Получает the post ID as a parameter. после ID в качестве параметра. 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 | save_post | wp-includes\functions-post.php wp-включает \ функций-post.php | 206 206 | Receives Получает the post ID as a parameter. после ID в качестве параметра. Executes when a post is saved to the database. Исполняет когда должность сохраняются в базе данных. |
| 20 | wp_insert_post | wp-includes\functions-post.php wp-включает \ функций-post.php | 207 207 | |
| 21 | edit_attachment | wp-includes\functions-post.php wp-включает \ функций-post.php | 342 342 | |
| 22 | add_attachment | wp-includes\functions-post.php wp-включает \ функций-post.php | 344 344 | |
| 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. после ID в качестве параметра. Executes whenever a post is deleted. Исполняет всякий раз, когда пост будет удален. |
| 25 | wp_blacklist_check | wp-includes\functions-post.php wp-включает \ функций-post.php | 642 642 | |
| 26 | parse_query | wp-includes\classes.php wp-включает \ classes.php | 86 86 | |
| 27 | parse_query | wp-includes\classes.php wp-включает \ classes.php | 238 238 | |
| 28 | pre_get_posts | wp-includes\classes.php wp-включает \ classes.php | 262 262 | |
| 29 | loop_start | wp-includes\classes.php wp-включает \ classes.php | 699 699 | |
| 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. Исполняет когда переписать правила 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. ID комментарий, как параметр. 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. ID комментарий, как параметр. 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. ID комментарий, как параметр. 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. ID комментарий, как параметр. 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. комментарий после ID в качестве параметра. 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 wp-комментарии-post.php | 11 11 | Receives Получает the comment’s post ID as a parameter. комментарий после ID в качестве параметра. Executes when attempting to display the comment Выполняет при попытке отображения комментарий form for a post that does not exist. форма для поста, который не существует. |
| 49 | comment_closed | wp-comments-post.php wp-комментарии-post.php | 14 14 | Receives Получает the comment’s post ID as a parameter. комментарий после ID в качестве параметра. Executes when attempting to display the comment Выполняет при попытке отображения комментарий form for a post that has closed comments. форма для поста, которая закрылась комментариев. |
| 50 | comment_on_draft | wp-comments-post.php wp-комментарии-post.php | 17 17 | |
| 51 | pingback_post | xmlrpc.php xmlrpc.php | 1236 1236 | Receives Получает the comment ID as a parameter. ID комментарий, как параметр. 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. после ID в качестве параметра. 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. замкнуто, который содержит 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. раздел админ-панели. 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 Исполняет внутри |
| 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. Выполняет в конце админ-панели внутри тела тега. 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. замкнуто, который содержит 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. ID комментарий, как параметр. 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 инициализации | 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 триггеров. |
Filed under Поданного в соответствии с CMS Software CMS Software , Headline News Headline News , How To Как , Open Source Software Open Source Software , PHP , Pro Blogging Про блоги , Tech Note Технология Примечание , Web Веб , Web Services Web Services , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Отослать Статья
You may also like to read Вы можете также люблю читать |


