- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Plugin API/Action Reference
Languages: English ? 日 本語 ? Português do Brasil ? (Add your language)
This article is a (hopefully complete) list of the action hooks available for use in plugindevelopment in Version 2.1 and above of WordPress. For more information:
To learn more about what filter and action hooks are, see Plugin API.
To learn about writing plugins in general, see Writing a Plugin.
For a reference list of filter hooks, see Plugin API/Filter Reference.
For information about filter and action hooks in previous versions of WordPress, see Plugin API/Hooks 2.0.x.
(If you want to add to or clarify this documentation, please follow the style of the existing entries. Describe when the action runs, and if the action function takes arguments, describe the arguments.)
Contents
[hide]
1 Actions run during a typical request
2 Actions run during an adminrequest
3 Post, Page, Attachment, and Category Actions
4 Comment, Ping, and Trackback Actions
5 Blogroll Actions
6 Feed Actions
7 Template Actions
8 Administrative Actions
9 Advanced Actions
10 Further Reading
Actions run during a typical request
These actions are run when a logged-in user opens the home page in Version
2.9.
muplugins_loaded
load_textdomain
update_option
plugins_loaded
load_textdomain
sanitize_comment_cookies
setup_theme
load_textdomain
auth_cookie_malformed 10.set_current_user 11.init
12.widgets_init 13.load_textdomain 14.parse_request 15.send_headers 16.pre_get_posts 17.posts_selection 18.wp 19.template_redirect
20.get_header [first printed output to the browser] 21.wp_head
22.wp_enqueue_scripts 23.wp_print_styles 24.wp_print_scripts 25.loop_start 26.the_post 27.loop_end 28.get_footer 29.wp_footer
30.wp_print_footer_scripts
Actions run during an adminrequest
These actions are run when a logged-in user opens an administrative page in Version 2.7:
(this section is a work-in-progress)
plugins_loaded
sanitize_comment_cookies
auth_cookie_malformed
auth_cookie_valid
set_current_user
init
admin_init
parse_r
您可能关注的文档
最近下载
- 太阳能光伏板安装合同协议.docx VIP
- 智融SW6306V_数据手册.pdf VIP
- 全国第三届职业技能大赛(全媒体运营项目)选拔赛理论考试题库资料(含答案).pdf VIP
- 2018年高职教育专业教学资源库建设方案-深圳职业技术学院评审.docx VIP
- 职业技术学院专业教学资源库建设与管理实施办法(试行).docx VIP
- 教育部中小学德育工作指南.pptx VIP
- 2025年成人高考时事政治试卷及答案.docx VIP
- 《工程渣土资源化利用技术规程》DB32T 5172-2025(江苏省标).pdf VIP
- 建筑结构抗震设计第三章振型分解反应谱法.ppt VIP
- 《走近周杰伦》课件.ppt VIP
文档评论(0)