WordPress.org

Ready to get started?Download WordPress

Forums

Change order of actions run during Admin request? (1 post)

  1. richarduk
    Member
    Posted 3 years ago #

    The typical actions are here:

    http://codex.wordpress.org/Plugin_API/Action_Reference

    Specifically, the order is a bit like this:

    # plugins_loaded
    # sanitize_comment_cookies
    # setup_theme
    # load_textdomain
    # after_setup_theme
    # auth_cookie_valid
    # set_current_user
    # init
    # widgets_init
    # register_sidebar ******************************
    # wp_register_sidebar_widget
    # wp_loaded
    # auth_redirect
    # wp_default_scripts*
    # _admin_menu
    # admin_menu ****************************

    I want admin_menu to run before register_sidebar.
    Or register_sidebar to run after admin_menu

    Is there anything I can add to functions.php to make this happen?

Topic Closed

This topic has been closed to new replies.

About this Topic