wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



comment_id_fields › WordPress Function

Seit2.7.0
Veraltetn/v
comment_id_fields ( $post_id = 0 )
Parameter:
  • (int) $post_id Optional. Post ID. Defaults to the current post ID.
    Erforderlich: Nein
    Standard:
Siehe:
Definiert in:
Codex:

Outputs hidden input HTML for replying to comments.

Adds two hidden inputs to the comment form to identify the comment_post_ID and comment_parent values for threaded comments. This tag must be within the <form> section of the comments.php template.


Quellcode

function comment_id_fields( $post_id = 0 ) {
	echo get_comment_id_fields( $post_id );
}