wp_update_site

wp_update_site

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_update_site') is found 1 times:

  • /wp-includes/ms-site.php line 197
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
         *
         * @param WP_Site $new_site New site object.
         * @param WP_Site $old_site Old site object.
         */
        do_action( 'wp_update_site', $new_site, $old_site );
     
        return (int) $new_site->id;
    }
     
    /**
     * Deletes a site from the database.

See this hook used in plugins: