wpmuadminedit

wpmuadminedit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wpmuadminedit') is found 4 times:

  • /wp-admin/network/edit.php line 28
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    * including Users, Network Settings, and Site Settings.
     *
     * @since 3.0.0
     */
    do_action( 'wpmuadminedit' );
     
    /**
     * Fires the requested handler action.
     *
     * The dynamic portion of the hook name, `$action`, refers to the name
     * of the requested action derived from the `GET` request.
  • /wp-admin/network/settings.php line 70
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    );
     
    if ( $_POST ) {
        /** This action is documented in wp-admin/network/edit.php */
        do_action( 'wpmuadminedit' );
     
        check_admin_referer( 'siteoptions' );
     
        $checked_options = array(
            'menu_items'                  => array(),
            'registrationnotification'    => 'no',
  • /wp-admin/network/sites.php line 59
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    $id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0;
     
    if ( isset( $_GET['action'] ) ) {
        /** This action is documented in wp-admin/network/edit.php */
        do_action( 'wpmuadminedit' );
     
        // A list of valid actions and their associated messaging for confirmation output.
        $manage_actions = array(
            /* translators: %s: Site URL. */
            'activateblog'   => __( 'You are about to activate the site %s.' ),
            /* translators: %s: Site URL. */
  • /wp-admin/network/users.php line 19
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    }
     
    if ( isset( $_GET['action'] ) ) {
        /** This action is documented in wp-admin/network/edit.php */
        do_action( 'wpmuadminedit' );
     
        switch ( $_GET['action'] ) {
            case 'deleteuser':
                if ( ! current_user_can( 'manage_network_users' ) ) {
                    wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
                }