wp_uninitialize_site


wp_uninitialize_site ( $site_id )

Parameters:
  • (int|WP_Site) site_id Site ID or object.
Returns:
  • (bool|WP_Error) True on success, or error object on failure.
Defined at:

Description

Runs the uninitialization routine for a given site.This process includes dropping the site's database tables and deleting its uploads directory.

Related Functions

wp_initialize_site, wp_normalize_site_data, wp_insert_site, wp_initial_constants, wp_count_sites

Top Google Results

User discussions

wpseek mobile