WordPress tables part 1

Some of you knows, that I write the book about WordPress programming. It is very slow process and I’m not even sure if I finish it this year. Of course I will try. While this process, I needed WordPress tables (I named it after mathematical tables, very popular before cheap-calculator arrived). So, I will try to give you a sample of it.

WordPress actions

muplugins_loaded

registered_taxonomy (for “category”)
registered_taxonomy (for “post_tag”)
registered_taxonomy (for “nav_menu”)
registered_taxonomy (for “link_category”)
registered_taxonomy (for “post_format”)

registered_post_type (for “post”)
registered_post_type (for “page”)
registered_post_type (for “attachment”)
registered_post_type (for “revision”)
registered_post_type (for “nav_menu_item”)

plugins_loaded

sanitize_comment_cookies

setup_theme

unload_textdomain (for “default”)
load_textdomain (for “default”)

after_setup_theme

auth_cookie_malformed
auth_cookie_valid
set_current_user

init

registered_post_type (for “post”)
registered_post_type (for “page”)
registered_post_type (for “attachment”)
registered_post_type (for “revision”)
registered_post_type (for “nav_menu_item”)

registered_taxonomy (for “category”)
registered_taxonomy (for “post_tag”)
registered_taxonomy (for “nav_menu”)
registered_taxonomy (for “link_category”)
registered_taxonomy (for “post_format”)

widgets_init

wp_register_sidebar_widget (for “Pages”)
wp_register_sidebar_widget (for “Calendar”)
wp_register_sidebar_widget (for “Archives”)
wp_register_sidebar_widget (for “Meta”)
wp_register_sidebar_widget (for “Search”)
wp_register_sidebar_widget (for “Text”)
wp_register_sidebar_widget (for “Categories”)
wp_register_sidebar_widget (for “Recent posts”)
wp_register_sidebar_widget (for “Recent comments”)
wp_register_sidebar_widget (for “RSS”)
wp_register_sidebar_widget (for “Tag Cloud”)
wp_register_sidebar_widget (for “Custom Menu”)

wp_loaded

parse_tax_query
parse_tax_query
posts_selection

metadata_lazyloader_queued_objects

template_redirect

admin_bar_init
add_admin_bar_menus

shutdown

What is not on that list? Deprecated actions, filters and… theme actions. This is a full list for WordPress 4.6.1 with theme, which does not call any single action. And be sure, that our twenty… themes calls a lot of actions. See it in the next part!

Be the first to comment

Leave a Reply

Your email address will not be published.


*