wp_update_site


wp_update_site ( $site_id, $data )

Parameters:
  • (int) site_id ID of the site that should be updated.
  • (array) data Site data to update. See {@see} for the list of supported keys.
Returns:
  • (int|WP_Error) The updated site's ID on success, or error object on failure.
Defined at:

Description

Updates a site in the database.

Related Functions

wp_update_term, wp_update_post, wp_update_user, wp_update_theme, wp_update_themes

Top Google Results

User discussions

wpseek mobile