get_current_site


get_current_site ( No parameters )

See:
Returns:
  • (WP_Network)
Defined at:
Change Log:
  • M: U

Description

Get the current network.

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

Related Functions

get_current_site_name, get_current_theme, get_current_screen, set_current_user, get_current_user_id

Top Google Results

User discussions

wpseek mobile