private function handle_delete_networks() {
		$deleted_networks = array_map( 'absint', filter_input( INPUT_POST, 'deleted_networks', FILTER_FORCE_ARRAY ) );
		$override         = (bool) filter_input( INPUT_POST, 'override' );

		foreach ( $deleted_networks as $deleted_network ) {
			$result = delete_network( $deleted_network, $override );
			if ( is_wp_error( $result ) ) {
				wp_die( esc_html( $result->get_error_message() ) );
			}
		}

		$this->handle_redirect( array(
			'networks_deleted' => '1',
		) );
	}
private function handle_delete_networks() {
		$deleted_networks = array_map( 'absint', filter_input( INPUT_POST, 'deleted_networks', FILTER_FORCE_ARRAY ) );
		$override         = (bool) filter_input( INPUT_POST, 'override' );

		foreach ( $deleted_networks as $deleted_network ) {
			$result = delete_network( $deleted_network, $override );
			if ( is_wp_error( $result ) ) {
				wp_die( esc_html( $result->get_error_message() ) );
			}
		}

		$this->handle_redirect( array(
			'networks_deleted' => '1',
		) );
	}
private function handle_delete_networks ( ) { $ deleted_networks = array_map ( 'absint' , filter_input ( INPUT_POST , 'deleted_networks' , FILTER_FORCE_ARRAY ) ) ; $ override = ( bool ) filter_input ( INPUT_POST , 'override' ) ; foreach ( $ deleted_networks as $ deleted_network ) { $ result = delete_network ( $ deleted_network , $ override ) ; if ( is_wp_error ( $ result ) ) { wp_die ( esc_html ( $ result -> get_error_message ( ) ) ) ; } } $ this -> handle_redirect ( array ( 'networks_deleted' => '1' , ) ) ; }
Handles the request to delete multiple networks.

@since 2.0.0
Handles the request to delete multiple networks .