the do order of several important actions in WordPress

WordPress action order is an important thing to consider when you call add_action to add your hook function to a specific action. Here is the order for some important actions.

init(in wp-load.php)

admin_menu(in wp-admin/includes/menu.php)

 

 

admin_init(in wp-admin/admin.php)

hooked functions:

wp_plugin_update_rows()

register_setting()

_maybe_update_plugins

 

 

load-plugins.php

hooked functions:

wp_update_plugins()

If you like my content, please consider buying me a coffee. Buy me a coffeeBuy me a coffee Thank you for your support!

Leave a Reply