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
51           'heading_pagination' => __( 'Sites list navigation' ),
52           'heading_list'       => __( 'Sites list' ),
53      )
54 );
55
56 $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
57
58 if ( isset( $_GET['action'] ) ) {
59      /** This action is documented in wp-admin/network/edit.php */
60      do_action( 'wpmuadminedit' );
61
62      // A list of valid actions and their associated messaging for confirmation output.
63      $manage_actions = array(
64           /* translators: %s: Site URL. */
65           'activateblog'   => __( 'You are about to activate the site %s.' ),
66           /* translators: %s: Site URL. */
67           'deactivateblog' => __( 'You are about to deactivate the site %s.' ),
68           /* translators: %s: Site URL. */
69           'unarchiveblog'  => __( 'You are about to unarchive the site %s.' ),