MENU

WordPress 5.3 Action hook execution order

Cleanly install WordPress 5.3.2,
I checked it in the default, especially without adding a theme or plugin.

The theme is “Twenty Twenty”.

Action hook execution sequence is as shown below.

TOC

Action performed on homepage

This is the action requested on the site’s homepage.

muplugins_loaded
registered_taxonomy
registered_post_type
plugins_loaded
sanitize_comment_cookies
wp_roles_init
setup_theme
unload_textdomain
load_textdomain
after_setup_theme
auth_cookie_malformed
auth_cookie_valid
set_current_user
init
widgets_init
register_sidebar
wp_register_sidebar_widget
wp_default_scripts
wp_loaded
parse_request
send_headers
parse_tax_query
parse_query
pre_get_posts
posts_selection
parse_term_query
pre_get_terms
metadata_lazyloader_queued_objects
wp
template_redirect
wp_default_styles
admin_bar_init
add_admin_bar_menus
get_header
wp_head
wp_enqueue_scripts
enqueue_block_assets
wp_print_styles
wp_print_scripts
wp_body_open
get_template_part_template-parts/modal-search
get_template_part
pre_get_search_form
get_template_part_template-parts/modal-menu
loop_start
the_post
get_template_part_template-parts/content
get_template_part_template-parts/entry-header
twentytwenty_start_of_post_meta_list
twentytwenty_end_of_post_meta_list
get_template_part_template-parts/featured-image
loop_end
get_template_part_template-parts/pagination
get_template_part_template-parts/footer-menus-widgets
dynamic_sidebar_before
dynamic_sidebar
parse_comment_query
pre_get_comments
wp_meta
dynamic_sidebar_after
get_footer
wp_footer
wp_print_footer_scripts
admin_bar_menu
wp_before_admin_bar_render
wp_after_admin_bar_render
shutdown

Actions performed on individual articles

This is the action requested in the automatically created “Hello world!” Article.

muplugins_loaded
registered_taxonomy
registered_post_type
plugins_loaded
sanitize_comment_cookies
wp_roles_init
setup_theme
unload_textdomain
load_textdomain
after_setup_theme
auth_cookie_malformed
auth_cookie_valid
set_current_user
init
widgets_init
register_sidebar
wp_register_sidebar_widget
wp_default_scripts
wp_loaded
parse_request
send_headers
parse_query
pre_get_posts
posts_selection
parse_term_query
pre_get_terms
metadata_lazyloader_queued_objects
wp
template_redirect
wp_default_styles
admin_bar_init
add_admin_bar_menus
get_header
wp_head
wp_enqueue_scripts
enqueue_block_assets
wp_print_styles
wp_print_scripts
wp_body_open
get_template_part_template-parts/modal-search
get_template_part
pre_get_search_form
get_template_part_template-parts/modal-menu
loop_start
the_post
get_template_part_template-parts/content
get_template_part_template-parts/entry-header
twentytwenty_start_of_post_meta_list
twentytwenty_end_of_post_meta_list
get_template_part_template-parts/featured-image
get_template_part_template-parts/entry-author-bio
get_template_part_template-parts/navigation
parse_comment_query
pre_get_comments
comment_form_before
comment_form_top
comment_form_logged_in_after
comment_form
comment_form_after
loop_end
get_template_part_template-parts/footer-menus-widgets
dynamic_sidebar_before
dynamic_sidebar
parse_tax_query
wp_meta
dynamic_sidebar_after
get_footer
wp_footer
wp_print_footer_scripts
admin_bar_menu
wp_before_admin_bar_render
wp_after_admin_bar_render
shutdown

Actions performed on the dashboard

This is the action requested in the dashboard of the admin screen.

muplugins_loaded
registered_taxonomy
registered_post_type
plugins_loaded
sanitize_comment_cookies
wp_roles_init
setup_theme
auth_cookie_valid
set_current_user
unload_textdomain
load_textdomain
after_setup_theme
init
widgets_init
register_sidebar
wp_register_sidebar_widget
wp_default_scripts
wp_loaded
auth_redirect
_admin_menu
admin_menu
admin_init
wp_default_styles
admin_bar_init
add_admin_bar_menus
current_screen
load-index.php
wp_dashboard_setup
do_meta_boxes
admin_xml_ns
admin_enqueue_scripts
admin_print_styles-index.php
admin_print_styles
admin_print_scripts-index.php
admin_print_scripts
wp_print_scripts
admin_head-index.php
admin_head
adminmenu
in_admin_header
admin_bar_menu
wp_before_admin_bar_render
wp_after_admin_bar_render
admin_notices
all_admin_notices
welcome_panel
rightnow_end
activity_box_end
parse_tax_query
parse_query
pre_get_posts
posts_selection
loop_no_results
parse_term_query
pre_get_terms
metadata_lazyloader_queued_objects
loop_start
the_post
loop_end
parse_comment_query
pre_get_comments
in_admin_footer
admin_footer
admin_print_footer_scripts-index.php
admin_print_footer_scripts
wp_enqueue_editor
before_wp_tiny_mce
wp_tiny_mce_init
after_wp_tiny_mce
admin_footer-index.php
shutdown

Action performed when new post is made

It will be the action requested at the time of new posting from the admin screen.

muplugins_loaded
registered_taxonomy
registered_post_type
plugins_loaded
sanitize_comment_cookies
wp_roles_init
setup_theme
auth_cookie_valid
set_current_user
unload_textdomain
load_textdomain
after_setup_theme
init
widgets_init
register_sidebar
wp_register_sidebar_widget
wp_default_scripts
wp_loaded
auth_redirect
_admin_menu
admin_menu
admin_init
wp_default_styles
admin_bar_init
add_admin_bar_menus
current_screen
load-post-new.php
parse_term_query
pre_get_terms
set_object_terms
clean_object_term_cache
clean_post_cache
transition_post_status
delete_transient_is_multi_author
new_to_auto-draft
auto-draft_post
save_post_post
save_post
wp_insert_post
rest_api_init
the_post
parse_tax_query
parse_query
pre_get_posts
posts_selection
add_post_meta
added_post_meta
wp_enqueue_media
wp_enqueue_editor
enqueue_block_editor_assets
dbx_post_advanced
add_meta_boxes
add_meta_boxes_post
do_meta_boxes
admin_xml_ns
admin_enqueue_scripts
enqueue_block_assets
admin_print_styles-post-new.php
admin_print_styles
admin_print_scripts-post-new.php
admin_print_scripts
wp_print_scripts
admin_head-post-new.php
admin_head
adminmenu
in_admin_header
admin_bar_menu
wp_before_admin_bar_render
wp_after_admin_bar_render
admin_notices
all_admin_notices
edit_form_after_title
edit_form_advanced
block_editor_meta_box_hidden_fields
in_admin_footer
admin_footer
pre-upload-ui
pre-plupload-upload-ui
post-plupload-upload-ui
post-upload-ui
print_media_templates
admin_print_footer_scripts-post-new.php
admin_print_footer_scripts
print_default_editor_scripts
admin_footer-post-new.php
shutdown
Let's share this post !
  • Copied the URL !
  • Copied the URL !

Author of this article

TOC