WP_Comment::to_array()
Converts object to array.
Метод класса: WP_Comment{}
Хуков нет.
Возвращает
Массив
. Object as array.
Использование
$WP_Comment = new WP_Comment(); $WP_Comment->to_array();
Список изменений
С версии 4.4.0 | Введена. |
Код WP_Comment::to_array() WP Comment::to array WP 6.5.2
public function to_array() { return get_object_vars( $this ); }