WP_Term::to_array()
Converts an object to array.
Description Description
Return Return
(array) Object as array.
Source Source
File: wp-includes/class-wp-term.php
public function to_array() {
return get_object_vars( $this );
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |