get_comment_form() публичный статический Метод

Gets the comment form for use on a single article page
Устаревший: 0.21.8 use `{{ function('comment_form') }}` instead
public static get_comment_form ( integer $post_id = null, array $args = [] ) : string
$post_id integer which post_id should the form be tied to?
$args array this $args thing is a fucking mess, [fix at some point](http://codex.wordpress.org/Function_Reference/comment_form)
Результат string
Пример #1
0
 /**
  *
  * Gets the comment form for use on a single article page
  * @param array   $args this $args thing is a f*****g mess, [fix at some point](http://codex.wordpress.org/Function_Reference/comment_form)
  * @return string of HTML for the form
  */
 public function comment_form($args = array())
 {
     return Helper::get_comment_form($this->ID, $args);
 }