wp_delete_site


wp_delete_site ( $site_id )

Parameters:
  • (int) site_id ID of the site that should be deleted.
Returns:
  • (WP_Site|WP_Error) The deleted site object on success, or error object on failure.
Defined at:

Description

Deletes a site from the database.

Related Functions

wp_delete_file, wp_delete_post, wp_delete_term, wp_delete_user, wpmu_delete_user

Top Google Results

User discussions

wpseek mobile