I have enabled comments for a custom node type.
I am trying to theme that comment form using hook_form_alter(&$form, &$form_state) (For example, I’d like to remove the label of the comment_body form field)
To do that, I use the following function:
function MYTHEME_form_comment_form_alter(&$form, &$form_state) { $form['comment_body']['und']['#title'][0] = ''; }
However in the output the title of the form field is still there:

Here’s the markup:

The value of $form does not correspond to what I am used to see. Here’s a screenshot from my debugger:

Sponsored by SupremePR