Changing the title of the Answers add answer form I want to change "Your answer" in the add answer form of the Answers module so that it says "Give [user who asked question] your answer". 

Here is a snippet of code from answers.module that defines the value

// Add the form to the question page.
        $node-&gt;content['new_answer_form'] = $answer_form;
        $node-&gt;content['new_answer_form']['#weight'] = 150;
        $node-&gt;content['new_answer_form']['new_answer_form_title'] = array(
          '#theme' =&gt; 'html_tag',
          '#tag' =&gt; 'h2',
          '#attributes' =&gt; array('class' =&gt; 'new-answer-form-title'),
          '#value' =&gt; t('Your answer'),
          '#weight' =&gt; -100,
        );


I tried changing it to: 

// Add the form to the question page.
        $node-&gt;content['new_answer_form'] = $answer_form;
        $node-&gt;content['new_answer_form']['#weight'] = 150;
        $node-&gt;content['new_answer_form']['new_answer_form_title'] = array(
          '#theme' =&gt; 'html_tag',
          '#tag' =&gt; 'h2',
          '#attributes' =&gt; array('class' =&gt; 'new-answer-form-title'),
          '#value' =&gt; t('Give ', $author, 'your answer'),
          '#weight' =&gt; -100,
        );


Not surprisingly, this didn't work. I'm not sure which variable to use for $author, and other changes, so that the username of the person who asked the question appears there. 

Disclaimer: I apologize if the question is off, I work for a non-profit organization that isn't a tech company and am just trying to build us a new website but have a gluten for punishment and an interest in getting back in to the tech field. Thanks for your patience.

Edit: I created a helper module for customizations to other modules.
Since you have the node object, you can find its author via $node-&gt;uid. Then load the account and wrap it in format_username():

$uid = $node-&gt;uid;
$account = user_load($uid);
$account_name = format_username($account);


The hook you need depends on the function in which your snippet was found. In your case it is in hook_node_view, so you need hook_node_view_alter()

From there it is as simple as redefining the value. Something like this:

MODULENAME_node_view_alter(&amp;$build) {
  $node = &amp;$build['#node'];

  $new_title = t("Give @author your answer", array('@author' =&gt; $account_name));

  $node-&gt;content['new_answer_form']['new_answer_form_title']['#value'] = $new_title.
}