欢迎来到牛博站长教程网!

WordPress

当前位置: 主页 > CMS教程 > WordPress

WordPress 钩子 (action) 大全

时间:2024-06-25 11:33:01|栏目:WordPress|点击:

WordPress 的强大是基于开源和社区,并且提供了数量庞大的插件和主题供建站者使用,而这些都离不开 action 和 filters。


通过分析源代码,可以计算出 WordPress 钩子 (action) 调用次数,以下是根据 do_action 代码分析后得出的结果,共 693 个 action,可以当作开发时的手册查看:

  1. [xmlrpc_call] => 67
  2. [do_meta_boxes] => 8
  3. [sidebar_admin_setup] => 6
  4. [http_api_debug] => 5
  5. [upgrader_process_complete] => 5
  6. [rss_tag_pre] => 5
  7. [rest_after_insert_{$this->post_type}] => 4
  8. [switch_blog] => 4
  9. [rest_insert_{$this->taxonomy}] => 4
  10. [rest_after_insert_{$this->taxonomy}] => 4
  11. [wpmuadminedit] => 4
  12. [admin_print_scripts] => 4
  13. [widgets.php] => 4
  14. [admin_print_styles] => 4
  15. [admin_enqueue_scripts] => 4
  16. [load-widgets.php] => 4
  17. [admin_print_footer_scripts] => 4
  18. [edit_post_{$post->post_type}] => 4
  19. [edit_post] => 4
  20. [enqueue_block_editor_assets] => 4
  21. [add_meta_boxes] => 3
  22. [edit_term_taxonomy] => 3
  23. [edited_term_taxonomy] => 3
  24. [delete_widget] => 3
  25. [application_password_failed_authentication] => 3
  26. [wp_update_nav_menu] => 3
  27. [post-plupload-upload-ui] => 3
  28. [save_post_{$post->post_type}] => 3
  29. [save_post] => 3
  30. [wp_print_scripts] => 3
  31. [wp_insert_post] => 3
  32. [admin_head] => 3
  33. [admin_init] => 3
  34. [signup_finished] => 3
  35. [signup_hidden_fields] => 3
  36. [rest_after_insert_application_password] => 2
  37. [rest_insert_nav_menu_item] => 2
  38. [admin_head-{$hook_suffix}] => 2
  39. [rest_insert_{$this->post_type}] => 2
  40. [rest_delete_{$this->taxonomy}] => 2
  41. [make_ham_user] => 2
  42. [make_spam_user] => 2
  43. [rest_after_insert_nav_menu_item] => 2
  44. [rest_after_insert_comment] => 2
  45. [restrict_manage_posts] => 2
  46. [admin_print_styles-{$hook_suffix}] => 2
  47. [add_user_role] => 2
  48. [embed_content] => 2
  49. [remove_user_role] => 2
  50. [deleted_{$meta_type}_meta] => 2
  51. [manage_{$this->screen->id}_custom_column] => 2
  52. [wp_creating_autosave] => 2
  53. [upgrader_overwrote_package] => 2
  54. [wp_create_file_in_uploads] => 2
  55. [delete_{$meta_type}_meta] => 2
  56. [admin_print_scripts-{$hook_suffix}] => 2
  57. [$args] => 2
  58. [updated_{$meta_type}_meta] => 2
  59. [rss2_head] => 2
  60. [post-upload-ui] => 2
  61. [atom_ns] => 2
  62. [admin_footer] => 2
  63. [pre-plupload-upload-ui] => 2
  64. [pre-upload-ui] => 2
  65. [upload_ui_over_quota] => 2
  66. [admin_print_footer_scripts-{$hook_suffix}] => 2
  67. [wp_trash_post] => 2
  68. [post_submitbox_start] => 2
  69. [rest_after_insert_user] => 2
  70. [activate_{$plugin}] => 2
  71. [rest_insert_user] => 2
  72. [edit_terms] => 2
  73. [edited_terms] => 2
  74. [customize_register] => 2
  75. [deleted_user] => 2
  76. [delete_user_form] => 2
  77. [ms_network_not_found] => 2
  78. [saved_term] => 2
  79. [saved_{$taxonomy}] => 2
  80. [quick_edit_custom_box] => 2
  81. [updated_postmeta] => 2
  82. [after_switch_theme] => 2
  83. [update_postmeta] => 2
  84. [widgets_admin_page] => 2
  85. [login_footer] => 2
  86. [blog_privacy_selector] => 2
  87. [edit_form_advanced] => 2
  88. [after_mu_upgrade] => 2
  89. [dynamic_sidebar] => 2
  90. [dynamic_sidebar_after] => 2
  91. [submitlink_box] => 2
  92. [dynamic_sidebar_before] => 2
  93. [rss2_ns] => 2
  94. [wp_set_comment_status] => 2
  95. [sidebar_admin_page] => 2
  96. [edit_form_after_title] => 2
  97. [wp_delete_application_password] => 2
  98. [user_new_form_tag] => 2
  99. [update_{$meta_type}_meta] => 2
  100. [wp_mail_failed] => 2
  101. [delete_post] => 2
  102. [rest_insert_comment] => 2
  103. [deleted_post] => 2
  104. [rest_after_insert_attachment] => 2
  105. [user_new_form] => 2
  106. [trashed_post] => 2
  107. [make_undelete_blog] => 1
  108. [update_blog_public] => 1
  109. [delete_site_option_{$option}] => 1
  110. [deleted_site_transient] => 1
  111. [pre_delete_site_option_{$option}] => 1
  112. [auth_cookie_expired] => 1
  113. [setted_transient] => 1
  114. [delete_site_option] => 1
  115. [wp_delete_nav_menu] => 1
  116. [add_site_option] => 1
  117. [update_site_option_{$option}] => 1
  118. [add_site_option_{$option}] => 1
  119. [make_delete_blog] => 1
  120. [deleted_option] => 1
  121. [set_transient_{$transient}] => 1
  122. [add_option] => 1
  123. [wp_login_failed] => 1
  124. [set_current_user] => 1
  125. [update_site_option] => 1
  126. [unregister_setting] => 1
  127. [register_setting] => 1
  128. [wp_logout] => 1
  129. [update_option] => 1
  130. [update_option_{$option}] => 1
  131. [wp_update_nav_menu_item] => 1
  132. [updated_option] => 1
  133. [add_option_{$option}] => 1
  134. [deleted_transient] => 1
  135. [added_option] => 1
  136. [delete_option] => 1
  137. [delete_option_{$option}] => 1
  138. [wp_add_nav_menu_item] => 1
  139. [setted_site_transient] => 1
  140. [set_site_transient_{$transient}] => 1
  141. [wp_mail_succeeded] => 1
  142. [wp_create_nav_menu] => 1
  143. [auth_cookie_malformed] => 1
  144. [delete_transient_{$transient}] => 1
  145. [delete_site_transient_{$transient}] => 1
  146. [activate_header] => 1
  147. [unarchive_blog] => 1
  148. [get_footer] => 1
  149. [deprecated_file_included] => 1
  150. [deprecated_argument_run] => 1
  151. [deprecated_hook_run] => 1
  152. [doing_it_wrong_run] => 1
  153. [wp_print_styles] => 1
  154. [get_header] => 1
  155. [get_sidebar] => 1
  156. [deprecated_function_run] => 1
  157. [get_template_part_{$slug}] => 1
  158. [get_template_part] => 1
  159. [pre_get_search_form] => 1
  160. [wp_meta] => 1
  161. [wp_head] => 1
  162. [wp_footer] => 1
  163. [wp_body_open] => 1
  164. [deprecated_constructor_run] => 1
  165. [do_faviconico] => 1
  166. [load_textdomain] => 1
  167. [rdf_header] => 1
  168. [atom_comments_ns] => 1
  169. [comments_atom_head] => 1
  170. [comment_atom_entry] => 1
  171. [atom_head] => 1
  172. [atom_author] => 1
  173. [atom_entry] => 1
  174. [rdf_ns] => 1
  175. [rdf_item] => 1
  176. [do_robotstxt] => 1
  177. [rss_head] => 1
  178. [rss_item] => 1
  179. [rss2_comments_ns] => 1
  180. [commentsrss2_head] => 1
  181. [commentrss2_item] => 1
  182. [rss2_item] => 1
  183. [do_feed_{$feed}] => 1
  184. [wp_enqueue_code_editor] => 1
  185. [unload_textdomain] => 1
  186. [archive_blog] => 1
  187. [wp_validate_site_deletion] => 1
  188. [ms_site_not_found] => 1
  189. [clean_network_cache] => 1
  190. [ms_loaded] => 1
  191. [wp_insert_site] => 1
  192. [wp_initialize_site] => 1
  193. [wp_update_site] => 1
  194. [wp_uninitialize_site] => 1
  195. [wpmu_new_user] => 1
  196. [wp_delete_site] => 1
  197. [wp_validate_site_data] => 1
  198. [clean_site_cache] => 1
  199. [make_spam_blog] => 1
  200. [make_ham_blog] => 1
  201. [mature_blog] => 1
  202. [unmature_blog] => 1
  203. [added_existing_user] => 1
  204. [wpmu_activate_blog] => 1
  205. [shutdown] => 1
  206. [deleted_postmeta] => 1
  207. [is_wp_error_instance] => 1
  208. [print_media_templates] => 1
  209. [wp_playlist_scripts] => 1
  210. [wp_enqueue_media] => 1
  211. [add_{$meta_type}_meta] => 1
  212. [added_{$meta_type}_meta] => 1
  213. [delete_postmeta] => 1
  214. [delete_{$meta_type}meta] => 1
  215. [auth_cookie_bad_hash] => 1
  216. [deleted_{$meta_type}meta] => 1
  217. [wpmu_blog_updated] => 1
  218. [add_user_to_blog] => 1
  219. [remove_user_from_blog] => 1
  220. [after_signup_site] => 1
  221. [after_signup_user] => 1
  222. [wpmu_activate_user] => 1
  223. [auth_cookie_bad_username] => 1
  224. [{$old_status}to{$new_status}] => 1
  225. [auth_cookie_bad_session_token] => 1
  226. [retrieve_password_key] => 1
  227. [wp_authenticate_application_password_errors] => 1
  228. [application_password_did_authenticate] => 1
  229. [clean_user_cache] => 1
  230. [profile_update] => 1
  231. [user_register] => 1
  232. [retrieve_password] => 1
  233. [lostpassword_post] => 1
  234. [wp_maybe_auto_update] => 1
  235. [password_reset] => 1
  236. [after_password_reset] => 1
  237. [register_post] => 1
  238. [register_new_user] => 1
  239. [register_sidebar] => 1
  240. [wp_register_sidebar_widget] => 1
  241. [wp_unregister_sidebar_widget] => 1
  242. [wp_login] => 1
  243. [switch_theme] => 1
  244. [widgets_init] => 1
  245. [clean_taxonomy_cache] => 1
  246. [edit_term] => 1
  247. [edit_{$taxonomy}] => 1
  248. [edited_term] => 1
  249. [edited_{$taxonomy}] => 1
  250. [clean_object_term_cache] => 1
  251. [clean_term_cache] => 1
  252. [split_shared_term] => 1
  253. [embed_head] => 1
  254. [template_redirect] => 1
  255. [do_robots] => 1
  256. [do_favicon] => 1
  257. [wp_before_load_template] => 1
  258. [wp_after_load_template] => 1
  259. [embed_content_meta] => 1
  260. [embed_footer] => 1
  261. [the_widget] => 1
  262. [opml_head] => 1
  263. [delete_term_relationships] => 1
  264. [signup_header] => 1
  265. [plugins_loaded] => 1
  266. [sanitize_comment_cookies] => 1
  267. [setup_theme] => 1
  268. [after_setup_theme] => 1
  269. [init] => 1
  270. [wp_loaded] => 1
  271. [before_signup_header] => 1
  272. [muplugins_loaded] => 1
  273. [before_signup_form] => 1
  274. [signup_blogform] => 1
  275. [signup_extra_fields] => 1
  276. [preprocess_signup_form] => 1
  277. [after_signup_form] => 1
  278. [pre_trackback_post] => 1
  279. [trackback_post] => 1
  280. [plugin_loaded] => 1
  281. [network_plugin_loaded] => 1
  282. [login_enqueue_scripts] => 1
  283. [lost_password] => 1
  284. [login_head] => 1
  285. [login_header] => 1
  286. [login_init] => 1
  287. [login_form_{$action}] => 1
  288. [admin_email_confirm] => 1
  289. [admin_email_confirm_form] => 1
  290. [lostpassword_form] => 1
  291. [mu_plugin_loaded] => 1
  292. [validate_password_reset] => 1
  293. [resetpass_form] => 1
  294. [register_form] => 1
  295. [user_request_action_confirmed] => 1
  296. [login_form] => 1
  297. [wp-mail.php] => 1
  298. [publish_phone] => 1
  299. [deleted_term_relationships] => 1
  300. [set_object_terms] => 1
  301. [auth_cookie_valid] => 1
  302. [edit_attachment] => 1
  303. [untrashed_post] => 1
  304. [trash_post_comments] => 1
  305. [trashed_post_comments] => 1
  306. [untrash_post_comments] => 1
  307. [untrashed_post_comments] => 1
  308. [pre_post_update] => 1
  309. [attachment_updated] => 1
  310. [after_delete_post] => 1
  311. [add_attachment] => 1
  312. [post_updated] => 1
  313. [transition_post_status] => 1
  314. [updated_usermeta] => 1
  315. [{$new_status}_{$post->post_type}] => 1
  316. [wp_after_insert_post] => 1
  317. [delete_attachment] => 1
  318. [untrash_post] => 1
  319. [before_delete_post] => 1
  320. [clean_page_cache] => 1
  321. [wp_verify_nonce_failed] => 1
  322. [set_auth_cookie] => 1
  323. [set_logged_in_cookie] => 1
  324. [clear_auth_cookie] => 1
  325. [auth_redirect] => 1
  326. [check_admin_referer] => 1
  327. [check_ajax_referer] => 1
  328. [$hook_name] => 1
  329. [post_unstuck] => 1
  330. [$arg] => 1
  331. [begin_fetch_post_thumbnail_html] => 1
  332. [end_fetch_post_thumbnail_html] => 1
  333. [registered_post_type] => 1
  334. [registered_post_type_{$post_type}] => 1
  335. [unregistered_post_type] => 1
  336. [post_stuck] => 1
  337. [clean_post_cache] => 1
  338. [clean_attachment_cache] => 1
  339. [added_term_relationship] => 1
  340. [delete_term_taxonomy] => 1
  341. [unregistered_taxonomy] => 1
  342. [registered_taxonomy_for_object_type] => 1
  343. [unregistered_taxonomy_for_object_type] => 1
  344. [pre_delete_term] => 1
  345. [edit_term_taxonomies] => 1
  346. [edited_term_taxonomies] => 1
  347. [deleted_term_taxonomy] => 1
  348. [registered_taxonomy] => 1
  349. [delete_term] => 1
  350. [delete_{$taxonomy}] => 1
  351. [create_term] => 1
  352. [create_{$taxonomy}] => 1
  353. [created_term] => 1
  354. [created_{$taxonomy}] => 1
  355. [add_term_relationship] => 1
  356. [registered_taxonomy_{$taxonomy}] => 1
  357. [wp_sitemaps_init] => 1
  358. [xmlrpc_publish_post] => 1
  359. [rest_delete_widget] => 1
  360. [rest_insert_attachment] => 1
  361. [rest_delete_comment] => 1
  362. [rest_delete_nav_menu_item] => 1
  363. [rest_delete_{$this->post_type}] => 1
  364. [rest_delete_revision] => 1
  365. [rest_save_sidebar] => 1
  366. [rest_delete_user] => 1
  367. [rest_after_save_widget] => 1
  368. [enqueue_block_assets] => 1
  369. [rest_api_init] => 1
  370. [_wp_put_post_revision] => 1
  371. [wp_restore_post_revision] => 1
  372. [wp_delete_post_revision] => 1
  373. [load_feed_engine] => 1
  374. [wp_print_footer_scripts] => 1
  375. [wp_enqueue_scripts] => 1
  376. [enqueue_embed_scripts] => 1
  377. [deleted_comment] => 1
  378. [added_usermeta] => 1
  379. [pre-html-upload-ui] => 1
  380. [mu_activity_box_end] => 1
  381. [export_wp] => 1
  382. [admin_print_styles-media-upload-popup] => 1
  383. [admin_print_scripts-media-upload-popup] => 1
  384. [admin_head-media-upload-popup] => 1
  385. [admin_head_{$content_func}] => 1
  386. [post-html-upload-ui] => 1
  387. [wpmuadminresult] => 1
  388. [wp_edit_form_attachment_display] => 1
  389. [wp_media_attach_action] => 1
  390. [_network_admin_menu] => 1
  391. [_user_admin_menu] => 1
  392. [_admin_menu] => 1
  393. [network_admin_menu] => 1
  394. [user_admin_menu] => 1
  395. [mu_rightnow_end] => 1
  396. [activity_box_end] => 1
  397. [admin_page_access_denied] => 1
  398. [manage_{$post->post_type}_posts_custom_column] => 1
  399. [install_plugins_table_header] => 1
  400. [manage_plugins_custom_column] => 1
  401. [after_plugin_row] => 1
  402. [after_plugin_row_{$plugin_file}] => 1
  403. [manage_posts_extra_tablenav] => 1
  404. [manage_pages_custom_column] => 1
  405. [manage_posts_custom_column] => 1
  406. [bulk_edit_custom_box] => 1
  407. [rightnow_end] => 1
  408. [current_screen] => 1
  409. [install_themes_table_header] => 1
  410. [restrict_manage_users] => 1
  411. [manage_users_extra_tablenav] => 1
  412. [wp_network_dashboard_setup] => 1
  413. [wp_user_dashboard_setup] => 1
  414. [wp_dashboard_setup] => 1
  415. [admin_menu] => 1
  416. [post_submitbox_minor_actions] => 1
  417. [after_theme_row] => 1
  418. [in_plugin_update_message-{$file}] => 1
  419. [wp_privacy_personal_data_erased] => 1
  420. [populate_options] => 1
  421. [add_inline_data] => 1
  422. [admin_xml_ns] => 1
  423. [delete_theme] => 1
  424. [deleted_theme] => 1
  425. [_core_updated_successfully] => 1
  426. [in_theme_update_message-{$theme_key}] => 1
  427. [wp_privacy_personal_data_export_file_created] => 1
  428. [wp_install] => 1
  429. [wp_upgrade] => 1
  430. [edit_user_created_user] => 1
  431. [delete_user] => 1
  432. [wp_authorize_application_password_request_errors] => 1
  433. [welcome_panel] => 1
  434. [media_upload_{$type}] => 1
  435. [wp_privacy_personal_data_export_file] => 1
  436. [block_editor_meta_box_hidden_fields] => 1
  437. [post_submitbox_misc_actions] => 1
  438. [activated_plugin] => 1
  439. [attachment_submitbox_misc_actions] => 1
  440. [post_comment_status_meta_box-options] => 1
  441. [page_attributes_meta_box_template] => 1
  442. [page_attributes_misc_attributes] => 1
  443. [add_meta_boxes_{$post_type}] => 1
  444. [wpmu_delete_user] => 1
  445. [activate_plugin] => 1
  446. [deactivate_plugin] => 1
  447. [post_lock_lost_dialog] => 1
  448. [deactivate_{$plugin}] => 1
  449. [deactivated_plugin] => 1
  450. [delete_plugin] => 1
  451. [deleted_plugin] => 1
  452. [pre_uninstall_plugin] => 1
  453. [uninstall_{$file}] => 1
  454. [post_locked_dialog] => 1
  455. [after_theme_row_{$stylesheet}] => 1
  456. [manage_themes_custom_column] => 1
  457. [adminmenu] => 1
  458. [wp_authorize_application_password_form] => 1
  459. [load-page.php] => 1
  460. [load-categories.php] => 1
  461. [load-edit-link-categories.php] => 1
  462. [load-edit-tags.php] => 1
  463. [admin_action_{$action}] => 1
  464. [wp_authorize_application_password_form_approved_no_js] => 1
  465. [customize_controls_init] => 1
  466. [load-{$pagenow}] => 1
  467. [customize_controls_enqueue_scripts] => 1
  468. [customize_controls_print_styles] => 1
  469. [customize_controls_print_scripts] => 1
  470. [customize_controls_head] => 1
  471. [customize_controls_print_footer_scripts] => 1
  472. [post_edit_form_tag] => 1
  473. [edit_form_top] => 1
  474. [load-page-new.php] => 1
  475. [load-importer-{$importer}] => 1
  476. [edit_form_after_editor] => 1
  477. [admin_notices] => 1
  478. [wp_ajax_{$action}] => 1
  479. [wp_ajax_nopriv_{$action}] => 1
  480. [in_admin_footer] => 1
  481. [admin_footer-{$hook_suffix}] => 1
  482. [in_admin_header] => 1
  483. [network_admin_notices] => 1
  484. [user_admin_notices] => 1
  485. [all_admin_notices] => 1
  486. [load-{$plugin_page}] => 1
  487. [admin_post_nopriv] => 1
  488. [admin_post_nopriv_{$action}] => 1
  489. [admin_post] => 1
  490. [admin_post_{$action}] => 1
  491. [after_db_upgrade] => 1
  492. [load-{$page_hook}] => 1
  493. [$page_hook] => 1
  494. [edit_form_before_permalink] => 1
  495. [submitpage_box] => 1
  496. [manage_sites_custom_column] => 1
  497. [automatic_updates_complete] => 1
  498. [deleted_link] => 1
  499. [edit_link] => 1
  500. [add_link] => 1
  501. [custom_header_options] => 1
  502. [wp_nav_menu_item_custom_fields] => 1
  503. [manage_{$this->screen->id}_custom_column_js_template] => 1
  504. [pre_auto_update] => 1
  505. [restrict_manage_comments] => 1
  506. [wp_ajax_crop_image_pre_save] => 1
  507. [manage_comments_nav] => 1
  508. [manage_comments_custom_column] => 1
  509. [manage_link_custom_column] => 1
  510. [manage_media_custom_column] => 1
  511. [restrict_manage_sites] => 1
  512. [manage_sites_extra_tablenav] => 1
  513. [wpmublogsaction] => 1
  514. [delete_link] => 1
  515. [heartbeat_tick] => 1
  516. [submitpost_box] => 1
  517. [{$taxonomy}_edit_form_fields] => 1
  518. [edit_page_form] => 1
  519. [dbx_post_sidebar] => 1
  520. [add_meta_boxes_comment] => 1
  521. [add_meta_boxes_link] => 1
  522. [{$taxonomy}_pre_edit_form] => 1
  523. [{$taxonomy}_term_edit_form_tag] => 1
  524. [{$taxonomy}_term_edit_form_top] => 1
  525. [{$taxonomy}_edit_form] => 1
  526. [heartbeat_nopriv_tick] => 1
  527. [{$taxonomy}_pre_add_form] => 1
  528. [{$taxonomy}_term_new_form_tag] => 1
  529. [add_tag_form_fields] => 1
  530. [{$taxonomy}_add_form_fields] => 1
  531. [{$taxonomy}_add_form] => 1
  532. [after-{$taxonomy}-table] => 1
  533. [export_filters] => 1
  534. [media_upload_{$tab}] => 1
  535. [myblogs_allblogs_options] => 1
  536. [update_usermeta] => 1
  537. [xmlrpc_call_success_blogger_editPost] => 1
  538. [xmlrpc_call_success_wp_newCategory] => 1
  539. [xmlrpc_call_success_wp_deleteCategory] => 1
  540. [xmlrpc_call_success_wp_deleteComment] => 1
  541. [xmlrpc_call_success_wp_editComment] => 1
  542. [xmlrpc_call_success_wp_newComment] => 1
  543. [xmlrpc_call_success_blogger_newPost] => 1
  544. [xmlrpc_call_success_blogger_deletePost] => 1
  545. [set_user_role] => 1
  546. [xmlrpc_call_success_mw_newPost] => 1
  547. [xmlrpc_call_success_mw_editPost] => 1
  548. [xmlrpc_call_success_mw_newMediaObject] => 1
  549. [pingback_post] => 1
  550. [comment_form_comments_closed] => 1
  551. [comment_form_before] => 1
  552. [comment_form_must_log_in_after] => 1
  553. [xmlrpc_call_success_wp_deletePage] => 1
  554. [parse_term_query] => 1
  555. [comment_form_logged_in_after] => 1
  556. [restore_previous_locale] => 1
  557. [wp_enqueue_editor] => 1
  558. [print_default_editor_scripts] => 1
  559. [before_wp_tiny_mce] => 1
  560. [wp_tiny_mce_init] => 1
  561. [after_wp_tiny_mce] => 1
  562. [wp_error_added] => 1
  563. [switch_locale] => 1
  564. [change_locale] => 1
  565. [wp_roles_init] => 1
  566. [metadata_lazyloader_queued_objects] => 1
  567. [parse_tax_query] => 1
  568. [posts_selection] => 1
  569. [loop_no_results] => 1
  570. [comment_loop_start] => 1
  571. [generate_recovery_mode_key] => 1
  572. [permalink_structure_changed] => 1
  573. [comment_form_top] => 1
  574. [comment_form_before_fields] => 1
  575. [admin_footer-widgets.php] => 1
  576. [comment_on_trash] => 1
  577. [comment_post] => 1
  578. [edit_comment] => 1
  579. [wp_update_comment_count] => 1
  580. [do_all_pings] => 1
  581. [clean_comment_cache] => 1
  582. [comment_id_not_found] => 1
  583. [comment_closed] => 1
  584. [comment_on_draft] => 1
  585. [comment_{$new_status}_{$comment->comment_type}] => 1
  586. [comment_on_password_protected] => 1
  587. [pre_comment_on_post] => 1
  588. [wp_nav_menu_item_custom_fields_customize_template] => 1
  589. [customize_render_partials_before] => 1
  590. [customize_render_partials_after] => 1
  591. [delete_usermeta] => 1
  592. [deleted_usermeta] => 1
  593. [wp_insert_comment] => 1
  594. [comment_{$old_status}to{$new_status}] => 1
  595. [comment_form_after_fields] => 1
  596. [activate_wp_head] => 1
  597. [comment_form] => 1
  598. [comment_form_after] => 1
  599. [comment_duplicate_trigger] => 1
  600. [check_comment_flood] => 1
  601. [comment_flood_trigger] => 1
  602. [wp_check_comment_disallowed_list] => 1
  603. [delete_comment] => 1
  604. [trash_comment] => 1
  605. [transition_comment_status] => 1
  606. [trashed_comment] => 1
  607. [untrash_comment] => 1
  608. [untrashed_comment] => 1
  609. [spam_comment] => 1
  610. [spammed_comment] => 1
  611. [unspam_comment] => 1
  612. [unspammed_comment] => 1
  613. [media_buttons] => 1
  614. [admin_print_footer_scripts-widgets.php] => 1
  615. [after_menu_locations_table] => 1
  616. [after_core_auto_updates_settings] => 1
  617. [install_plugins_{$tab}] => 1
  618. [pre_current_active_plugins] => 1
  619. [post_action_{$action}] => 1
  620. [site_health_tab_content] => 1
  621. [install_themes_pre_{$tab}] => 1
  622. [install_themes_{$tab}] => 1
  623. [tool_box] => 1
  624. [core_upgrade_preamble] => 1
  625. [install_plugins_pre_upload] => 1
  626. [update-core-custom_{$action}] => 1
  627. [update-custom_{$action}] => 1
  628. [personal_options_update] => 1
  629. [edit_user_profile_update] => 1
  630. [user_edit_form_tag] => 1
  631. [admin_color_scheme_picker] => 1
  632. [personal_options] => 1
  633. [install_plugins_upload] => 1
  634. [install_plugins_pre_{$tab}] => 1
  635. [wp_create_application_password_form] => 1
  636. [wpmu_update_blog_options] => 1
  637. [network_admin_edit_{$action}] => 1
  638. [update_wpmu_options] => 1
  639. [wpmu_options] => 1
  640. [network_site_info_form] => 1
  641. [pre_network_site_new_created_user] => 1
  642. [network_site_new_created_user] => 1
  643. [network_site_new_form] => 1
  644. [wpmueditblogaction] => 1
  645. [network_user_new_form] => 1
  646. [network_site_users_created_user] => 1
  647. [network_site_users_after_list_table] => 1
  648. [activate_blog] => 1
  649. [deactivate_blog] => 1
  650. [wpmu_upgrade_site] => 1
  651. [wpmu_upgrade_page] => 1
  652. [network_user_new_created_user] => 1
  653. [profile_personal_options] => 1
  654. [show_user_profile] => 1
  655. [admin_print_scripts-widgets.php] => 1
  656. [customize_render_panel] => 1
  657. [stop_previewing_theme] => 1
  658. [customize_post_value_set_{$setting_id}] => 1
  659. [customize_post_value_set] => 1
  660. [customize_preview_init] => 1
  661. [customize_save_validation_before] => 1
  662. [customize_save] => 1
  663. [customize_save_after] => 1
  664. [customize_render_panel_{$this->id}] => 1
  665. [customize_render_control_{$this->id}] => 1
  666. [customize_render_section] => 1
  667. [customize_render_section_{$this->id}] => 1
  668. [customize_preview_{$this->id}] => 1
  669. [customize_preview_{$this->type}] => 1
  670. [customize_save_{$id_base}] => 1
  671. [customize_update_{$this->type}] => 1
  672. [admin_print_styles-widgets.php] => 1
  673. [start_previewing_theme] => 1
  674. [customize_render_control] => 1
  675. [edit_user_profile] => 1
  676. [render_block_core_template_part_file] => 1
  677. [invite_user] => 1
  678. [set_comment_cookies] => 1
  679. [cron_reschedule_event_error] => 1
  680. [cron_unschedule_event_error] => 1
  681. [wp_before_admin_bar_render] => 1
  682. [wp_after_admin_bar_render] => 1
  683. [render_block_core_template_part_post] => 1
  684. [render_block_core_template_part_none] => 1
  685. [wp_update_application_password] => 1
  686. [grant_super_admin] => 1
  687. [granted_super_admin] => 1
  688. [revoke_super_admin] => 1
  689. [revoked_super_admin] => 1
  690. [admin_bar_init] => 1
  691. [add_admin_bar_menus] => 1
  692. [wp_create_application_password] => 1
  693. [xmlrpc_rsd_apis] => 1


上一篇:WordPress 过滤器 rest_url_prefix 未生效的原因

栏    目:WordPress

下一篇:20 个 WordPress 常用钩子介绍

本文标题:WordPress 钩子 (action) 大全

本文地址:https://nb.sd.cn/WordPress/215.html

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。本站涉及源码和程序均为学习用途,无商业盈利

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:44281525 | 邮箱:44281525@qq.com

Copyright © 2002-202X 牛博站长教程网 版权所有 Powered by EyouCms鲁ICP备2024061276号-1