Порядок срабатывания Actions в админке

muplugins_loaded After must-use plugins are loaded
registered_taxonomy For category, post_tag, etc.
registered_post_type For post, page, etc.
plugins_loaded After active plugins and pluggable functions are loaded
sanitize_comment_cookies
setup_theme
load_textdomain For domain default
after_setup_theme At this stage, the current user is not yet authenticated.
load_textdomain For domain twentyeleven
auth_cookie_valid
set_current_user
init Typically used by plugins to initialize. The current user is already authenticated by this time.
└─ widgets_init Used to register sidebars. This is fired at ‘init’, with a priority of 1.
register_sidebar For each sidebar
wp_register_sidebar_widget For each widget
wp_default_scripts (ref array)
wp_default_styles (ref array)
admin_bar_init
add_admin_bar_menus
wp_loaded After WordPress is fully loaded
auth_cookie_valid
auth_redirect
_admin_menu See also: _user_admin_menu, _network_admin_menu
admin_menu See also: user_admin_menu, network_admin_menu
admin_init
current_screen
load-(page)
send_headers Where custom HTTP headers can be added
pre_get_posts Exposes the query-variables object before a query is executed. (ref array)
posts_selection
wp After WP object is set up (ref array)
admin_xml_ns
admin_xml_ns
admin_enqueue_scripts
admin_print_styles-(hookname)
admin_print_styles
admin_print_scripts-(hookname)
admin_print_scripts
wp_print_scripts
admin_head-(hookname)
admin_head
adminmenu
in_admin_header
admin_notices
all_admin_notices
(hookname)
restrict_manage_posts
the_post (ref array)
pre_user_query (ref array)
in_admin_footer
admin_footer
admin_bar_menu (ref array)
wp_before_admin_bar_render
wp_after_admin_bar_render
admin_print_footer_scripts
admin_footer-(hookname) Admin page footer
shutdown PHP execution is about to end
wp_dashboard_setup Allows customization of admin Dashboard

actions

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *