Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wpmuadminedit

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
61
62 get_current_screen()->set_help_sidebar(
63      '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
64      '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-settings-screen/">Documentation on Network Settings</a>' ) . '</p>' .
65      '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
66 );
67
68 if ( $_POST ) {
69      /** This action is documented in wp-admin/network/edit.php */
70      do_action( 'wpmuadminedit' );
71
72      check_admin_referer( 'siteoptions' );
73
74      $checked_options = array(
75           'menu_items'                  => array(),
76           'registrationnotification'    => 'no',
77           'upload_space_check_disabled' => 1,
78           'add_new_users'               => 0,
79      );