API

Multi-Site Manager supports a variety of action hooks and filter hooks to allow others to build new plugins or integrate it with existing plugins.

Actions

switch_site ( int new_site_id , int old_site_id )
Called after the global current_site context is changed
wpmu_add_site ( int site_id )
Called when a site has been created.
wpmu_update_site ( int site_id )
Called after a site has been updated (domain or path changed).
wpmu_delete_site ( object deleted_site )
Called after a site has been deleted.
wpmu_move_blog ( int blog_id , int old_site_id , int new_site_id )
Called after a blog has been moved from one site to another.

Filters

manage_sitemeta_descriptions ( array sitemeta_options )
Called when displaying known sitemeta options. Allows authors of plugins that create sitemeta options to specify a friendly name for those options.
manage_site_clone_options ( array sitemeta_options_to_clone )
Called when building a list of sitemeta options. Allows authors of plugins that create sitemeta options to specify that those options should be cloned by default.