Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: network_admin_edit_{$action}

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
468           else
469                $deletefunction = 'all_delete';
470
471           wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $deletefunction ), network_admin_url( 'users.php' ) ) );
472           exit();
473      break;
474
475      default:
476           // Let plugins use us as a post handler easily
477           do_action( 'network_admin_edit_' . $_GET['action'] );
478           wp_redirect( network_admin_url( 'index.php' ) );
479           exit();
480      break;
481 }
482 ?>
483