WP_Site::to_array
Converts an object to array.
Method of the class: WP_Site{}
No Hooks.
Returns
Array. Object as array.
Usage
$WP_Site = new WP_Site(); $WP_Site->to_array();
Changelog
| Since 4.6.0 | Introduced. |
WP_Site::to_array() WP Site::to array code WP 6.9.1
public function to_array() {
return get_object_vars( $this );
}