WordPress 2.x Hooks for Action - Comprehensive List for Plugin and Theme Developers Ganci di WordPress 2.x per azione - elenco completo e per Plugin Tema Sviluppatori
Comprehensive List of WordPress Action Hooks Elenco completo di ganci di azione di WordPress
For WordPress Plugin and Theme Developers by Plugin per WordPress e sviluppatori di tema Plugin Developer Plug in per sviluppatori
This contains all the available action hooks (documented as well as undocumented) for WordPress plugin and theme developers. Questa contiene tutti i ganci d'azione disponibili (documentate e non documentate) per WordPress plugin e sviluppatori tema. All available documentation on these hooks have been updated from WordPress Codex. Tutti i documenti disponibili su tali uncini sono stati aggiornati da WordPress Codex.
Source file and line number information is provided to allow you to find more details about the hook. File sorgente e numero di riga informazioni vengono fornite per consentire di trovare maggiori dettagli sul gancio. Please maximize your browser for better display. Vi preghiamo di massimizzare il tuo browser per una migliore visualizzazione.
Note: You may also want to refer Nota: è anche possibile fare riferimento WordPress 2.x Filters - Comprehensive List for Plugin and Theme Developers WordPress 2.x Filtri - elenco completo e per Plugin Tema Sviluppatori .
| No. No | Action Azione | Source File File sorgente | Line Linea No. No | Comments Commenti |
|---|---|---|---|---|
| 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-include \ modello-loader.php | 3 3 | No function all_on_one () { all_on_one funzione () ( |
| 11 | wp_meta | wp-includes\template-functions-general.php wp-include \-modello funzioni-general.php | 59 59 | No parameter. parametro. Executes in the Esegue nel section of the included Theme’s la sezione di incluso Tema's |
| 12 | mce_options | wp-includes\js\tinymce\tiny_mce_gzip.php wp-include \ js \ tinymce \ tiny_mce_gzip.php | 144 144 | |
| 13 | tinymce_before_init | wp-includes\js\tinymce\tiny_mce_gzip.php wp-include \ js \ tinymce \ tiny_mce_gzip.php | 150 150 | |
| 14 | profile_update | wp-includes\registration-functions.php wp-include \ functions.php registrazione - | 76 76 | |
| 15 | user_register | wp-includes\registration-functions.php wp-include \ functions.php registrazione - | 78 78 | |
| 16 | private_to_published | wp-includes\functions-post.php wp-include \ funzioni-post.php | 175 175 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes when a post is moved from private to published Eseguito quando un post è spostato da privato a quello pubblicato status. stato. |
| 17 | edit_post | wp-includes\functions-post.php wp-include \ funzioni-post.php | 178 178 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes every time a post is edited. Eseguito ogni volta che un post è modificato. |
| 18 | publish_post | wp-includes\functions-post.php wp-include \ funzioni-post.php | 182 182 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes when a post is saved and its status is set to Eseguito quando un post è stato salvato e il suo stato è impostato su "publish", regardless of its prior setting. "pubblicare", indipendentemente dalla sua prima impostazione. NOTE: to add a hook to this NOTA: per aggiungere un gancio a questo action in 1.2, be sure to specify a priority between 0 and 9. azione in 1,2, accertarsi di specificare una priorità tra 0 e 9. The generic_ping hook Generic_ping il gancio is buggy and prevents any lesser priority hooks from working. è bacato e impedisce qualsiasi minore priorità ganci da lavoro. |
| 19 | save_post | wp-includes\functions-post.php wp-include \ funzioni-post.php | 206 206 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes when a post is saved to the database. Eseguito quando un post è stato salvato nel database. |
| 20 | wp_insert_post | wp-includes\functions-post.php wp-include \ funzioni-post.php | 207 207 | |
| 21 | edit_attachment | wp-includes\functions-post.php wp-include \ funzioni-post.php | 342 342 | |
| 22 | add_attachment | wp-includes\functions-post.php wp-include \ funzioni-post.php | 344 344 | |
| 23 | delete_attachment | wp-includes\functions-post.php wp-include \ funzioni-post.php | 380 380 | |
| 24 | delete_post | wp-includes\functions-post.php wp-include \ funzioni-post.php | 538 538 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes whenever a post is deleted. Eseguito ogni volta che un post è soppresso. |
| 25 | wp_blacklist_check | wp-includes\functions-post.php wp-include \ funzioni-post.php | 642 642 | |
| 26 | parse_query | wp-includes\classes.php WP-include \ classes.php | 86 86 | |
| 27 | parse_query | wp-includes\classes.php WP-include \ classes.php | 238 238 | |
| 28 | pre_get_posts | wp-includes\classes.php WP-include \ classes.php | 262 262 | |
| 29 | loop_start | wp-includes\classes.php WP-include \ classes.php | 699 699 | |
| 30 | loop_end | wp-includes\classes.php WP-include \ classes.php | 706 706 | |
| 31 | generate_rewrite_rules | wp-includes\classes.php WP-include \ classes.php | 1323 1323 | No parameter. parametro. Executes whenever the rewrite rules are recomputed. Eseguito ogni volta che la riscrittura delle norme ricalcolata. To modify the computed Per modificare il calcolata rules, use the filter rewrite_rules_array instead. regole, usa il filtro rewrite_rules_array. |
| 32 | comment_post | wp-includes\comment-functions.php wp-include \ comment-functions.php | 52 52 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes when a comment is added through wp-comments.php. Eseguito quando un commento è aggiunto attraverso wp-comments.php. |
| 33 | comment_flood_trigger | wp-includes\comment-functions.php wp-include \ comment-functions.php | 126 126 | |
| 34 | edit_comment | wp-includes\comment-functions.php wp-include \ comment-functions.php | 191 191 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes whenever a comment is edited. Eseguito ogni volta che un commento è a cura. |
| 35 | delete_comment | wp-includes\comment-functions.php wp-include \ comment-functions.php | 198 198 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes when a comment is deleted. Eseguito quando un commento è soppresso. |
| 36 | wp_set_comment_status | wp-includes\comment-functions.php wp-include \ comment-functions.php | 209 209 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes when the comment status changes. Quando si esegue il commento stato modifiche. |
| 37 | pre_ping | wp-includes\comment-functions.php wp-include \ comment-functions.php | 635 635 | |
| 38 | wp_set_comment_status | wp-includes\comment-functions.php wp-include \ comment-functions.php | 794 794 | |
| 39 | wp_head | wp-includes\functions.php WP-include \ functions.php | 1432 1432 | No parameter. Template tag. Executes in the parametro. Template etichetta. Esegue nel section. sezione. Useful for insertion Utile per l'inserimento of additional content like metatags or javascript. del contenuto aggiuntivo o come meta-tag javascript. |
| 40 | wp_footer | wp-includes\functions.php WP-include \ functions.php | 1436 1436 | No parameter. Template tag. Executes just before the end of the <body> tag. parametro. Template etichetta. Esegue poco prima della fine del <body> etichetta. Useful for insertion of additional content or statistics code like Google Analytics. Utile per l'inserimento di contenuto aggiuntivo o come codice di statistiche di Google Analytics. |
| 41 | comment_form | wp-content\themes\classic\comments-popup.php wp-content \ temi \ classico \ commenti-popup.php | 86 86 | Receives Riceve the comment’s post ID as a parameter. il commento post ID come parametro. Template tag. Modello di etichetta. Executes after displaying the Viene eseguito dopo la visualizzazione delle comment form for a post that allows comments. commento sotto forma di un post che permette commenti. |
| 42 | comment_form | wp-content\themes\classic\comments.php wp-content \ temi \ classico \ comments.php | 67 67 | |
| 43 | comment_form | wp-content\themes\default\comments-popup.php wp-content \ temi \ default \ commenti-popup.php | 86 86 | |
| 44 | comment_form | wp-content\themes\default\comments.php wp-content \ temi \ default \ 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-commenti-post.php | 11 11 | Receives Riceve the comment’s post ID as a parameter. il commento post ID come parametro. Executes when attempting to display the comment Esegue durante il tentativo di visualizzare il commento form for a post that does not exist. sotto forma di un post che non esiste. |
| 49 | comment_closed | wp-comments-post.php WP-commenti-post.php | 14 14 | Receives Riceve the comment’s post ID as a parameter. il commento post ID come parametro. Executes when attempting to display the comment Esegue durante il tentativo di visualizzare il commento form for a post that has closed comments. sotto forma di un post che ha chiuso i commenti. |
| 50 | comment_on_draft | wp-comments-post.php WP-commenti-post.php | 17 17 | |
| 51 | pingback_post | xmlrpc.php xmlrpc.php | 1236 1236 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes when a comment is added via XMLRPC. Eseguito quando un commento è aggiunto via XMLRPC. |
| 52 | publish_phone | wp-mail.php WP-mail.php | 146 146 | Receives Riceve the post ID as a parameter. il post ID come parametro. Executes when a post is added via wp-mail.php. Eseguito quando un post è aggiunto attraverso 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-admin \ edit-form-advanced.php | 216 216 | No parameter. parametro. Executes during the display of the admin panel’s advanced editing page, Esegue durante la visualizzazione del pannello di amministrazione di modifica avanzate di pagina, just before the poco prima del is closed that contains the post content textarea. è chiuso che contiene il post textarea contenuto. Useful Utile for inserting additional input fields into the advanced editing form. per l'inserimento di ulteriori campi di input nella forma di editing avanzato. |
| 57 | admin_menu | wp-admin\menu.php wp-admin \ menu.php | 57 57 | No parameter. parametro. Executes after the basic admin panel menu structure is in place. Eseguito dopo il pannello di amministrazione di base struttura dei menu è a posto. Useful Utile for adding additional menus to the admin panel. per l'aggiunta di menu aggiuntivi per il pannello da admin. |
| 58 | admin_head | wp-admin\admin-header.php wp-admin \ admin-header.php | 312 312 | No parameter. parametro. Executes in the Esegue nel section of the admin panel. sezione del pannello di amministrazione. Useful for insertion Utile per l'inserimento of additional content. di ulteriori contenuti. |
| 59 | personal_options_update | wp-admin\profile-update.php wp-admin \ profilo-update.php | 23 23 | |
| 60 | activate_ | wp-admin\plugins.php wp-admin \ plugins.php | 14 14 | |
| 61 | deactivate_ | wp-admin\plugins.php wp-admin \ plugins.php | 21 21 | |
| 62 | manage_posts_custom_column | wp-admin\edit.php wp-admin \ edit.php | 218 218 | |
| 63 | delete_comment | wp-admin\post.php wp-admin \ post.php | 232 232 | |
| 64 | check_passwords | wp-admin\admin-functions.php wp-admin \ admin-functions.php | 388 388 | |
| 65 | check_admin_referer | wp-admin\admin-functions.php wp-admin \ admin-functions.php | 971 971 | |
| 66 | switch_theme | wp-admin\admin-functions.php wp-admin \ admin-functions.php | 1126 1126 | |
| 67 | switch_theme | wp-admin\admin-functions.php wp-admin \ admin-functions.php | 1133 1133 | |
| 68 | edit_page_form | wp-admin\edit-page-form.php wp-admin \ edit-form.php pagina - | 214 214 | No parameter. parametro. Executes inside the Viene eseguito all'interno del |
| 69 | show_user_profile | wp-admin\profile.php wp-admin \ profile.php | 105 105 | |
| 70 | profile_personal_options | wp-admin\profile.php wp-admin \ profile.php | 114 114 | |
| 71 | edit_user_profile | wp-admin\user-edit.php wp-admin \ utente-edit.php | 168 168 | |
| 72 | activity_box_end | wp-admin\index.php wp-admin \ index.php | 113 113 | |
| 73 | admin_footer | wp-admin\bookmarklet.php wp-admin \ bookmarklet.php | 101 101 | No parameter. parametro. Executes at the end of the admin panel inside the body tag. Eseguito alla fine del pannello di amministrazione all'interno del tag BODY. Useful for Utile per insertion of additional content. inserimento di ulteriori contenuti. |
| 74 | edit_category | wp-admin\admin-db.php wp-admin \ admin-db.php | 123 123 | |
| 75 | create_category | wp-admin\admin-db.php wp-admin \ admin-db.php | 126 126 | |
| 76 | add_category | wp-admin\admin-db.php wp-admin \ admin-db.php | 127 127 | |
| 77 | delete_category | wp-admin\admin-db.php wp-admin \ admin-db.php | 175 175 | |
| 78 | delete_user | wp-admin\admin-db.php wp-admin \ admin-db.php | 238 238 | |
| 79 | edit_link | wp-admin\admin-db.php wp-admin \ admin-db.php | 297 297 | |
| 80 | add_link | wp-admin\admin-db.php wp-admin \ admin-db.php | 299 299 | |
| 81 | delete_link | wp-admin\admin-db.php wp-admin \ admin-db.php | 323 323 | |
| 82 | simple_edit_form | wp-admin\edit-form.php wp-admin \ edit-form.php | 70 70 | No parameter. parametro. Executes during the display of the admin panel’s simple editing page, just Esegue durante la visualizzazione del pannello di amministrazione semplice modifica di pagina, è sufficiente before the prima della is closed that contains the post content textarea. è chiuso che contiene il post textarea contenuto. Useful for Utile per inserting additional input fields into the simple editing form. l'inserimento di ulteriori campi di input nella forma semplice modifica. |
| 83 | admin_footer | wp-admin\admin-footer.php wp-admin \ admin-footer.php | 9 9 | |
| 84 | switch_theme | wp-admin\themes.php wp-admin \ themes.php | 14 14 | Receives Riceve the name of the current theme as a parameter. il nome del tema attuale come parametro. Executes when the blog theme is changed. Quando si esegue il blog tema è cambiato. |
| 85 | trackback_post | wp-trackback.php WP-trackback.php | 95 95 | Receives Riceve the comment ID as a parameter. il commento ID come parametro. Executes when a comment is added via trackback.php. Eseguito quando un commento è aggiunto tramite 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 arresto | wp-settings.php WP-settings.php | 222 222 | No parameter. parametro. Executes when the page output is complete. Eseguito quando la pagina di uscita è completo. |
| 92 | init | wp-settings.php WP-settings.php | 227 227 | Executes Esegue after WordPress has finished loading but before any headers are sent. WordPress dopo ha finito di carico, ma prima di qualsiasi intestazioni vengono inviati. Useful for intercepting Utile per l'intercettazione $_GET or $_POST triggers. $ _GET O $ _POST scatenanti. |
Filed under Elencato sotto CMS Software CMS Software , Headline News Headline News , How To Come , Open Source Software Software open source , PHP , Pro Blogging Pro Blogging , Tech Note Nota tech , Web , Web Services Servizi Web , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |



December 28th, 2005 at 1:27 am 28 dicembre 2005 a 1:27 am
[...] View the list … [...] [...] Visualizza l'elenco… [...]
December 30th, 2005 at 1:02 am 30 dicembre 2005 a 1:02
Thank you Angsuman. La ringrazio Angsuman. I am new to Wordpress and find your blog to be exceedingly helpful in coming up to speed. Io sono una novità per Wordpress e trovare il tuo blog per essere estremamente utili nei prossimi fino a velocità. This is a bit off-topic, but I have searched for hours and have not found the info I am looking for, so I am posting my question here: Can you point me to a summary of the changes that need to be made to Wordpress 1.5 plugins in order to make them compatible with Wordpress 2.0? Questo è un po 'off-topic, ma ho cercato per ore e non hanno trovato le informazioni Sto cercando, quindi sono inviare la mia domanda qui: Potete punto me un riepilogo delle modifiche che devono essere fatte a Wordpress 1,5 plug-in in modo da renderli compatibili con Wordpress 2,0?
December 30th, 2005 at 9:58 am 30 dicembre 2005 a 9:58 am
@Donovan @ Donovan
Search this is Google: Si tratta di ricerca di Google:
“What’s Not Gonna Work in WordPress 2.0″ "What's Not Gonna Pagina in WordPress 2,0"