comment_form_default_fields

comment_form_default_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('comment_form_default_fields') is found 1 times:

  • /wp-includes/comment-template.php line 2602
    	 * @since 3.0.0
    	 *
    	 * @param string[] $fields Array of the default comment fields.
    	 */
    	$fields = apply_filters( 'comment_form_default_fields', $fields );
    
    	$defaults = array(
    		'fields'               => $fields,
    		'comment_field'        => sprintf(
    			'<p class="comment-form-comment">%s %s</p>',
    			sprintf(