WP_Comment::to_array()

Convert object to array.


Return Return

(array) Object as array.


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.