GC_Comment::__construct()
最后更新于:2021-11-26 22:27:23
GC_Comment::__construct( GC_Comment$comment)Constructor.
参数
- $comment
-
(GC_Comment) (Required) Comment object.
源文件
文件: gc-includes/class-gc-comment.php
public function __construct( $comment ) {
foreach ( get_object_vars( $comment ) as $key => $value ) {
$this->$key = $value;
}
}