WP_Site::to_array()

Converts an object to array.


Return

(array) Object as array.


Source

File: wp-includes/class-wp-site.php

	public function to_array() {
		return get_object_vars( $this );
	}

Changelog

Changelog
Version Description
WP-4.6.0 Introduced.