get_current_site

Advertisement

Summery Summery

Get the current network.

Syntax Syntax

get_current_site()

Description Description

Returns an object containing the ‘id’, ‘domain’, ‘path’, and ‘site_name’ properties of the network being viewed.

Return Return

(WP_Network)

Source Source

File: wp-includes/ms-functions.php

	 *
	 * @param string $subject Subject of the email.
	 */
	$subject = apply_filters( 'update_welcome_user_subject', sprintf( $subject, $current_network->site_name, $user->user_login ) );

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.