Converts an object to array.
(array) Object as array.
File: wp-includes/class-wp-site.php
public function to_array() {
return get_object_vars( $this );
} | Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_site/to_array