WP_Comment::to_array

Advertisement

Summery Summery

Convert object to array.

Syntax Syntax

WP_Comment::to_array()

Return Return

(array) Object as array.

Source Source

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

	 */
	public function to_array() {
		return get_object_vars( $this );

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.