Answers.Body: <p>Turns out, this hook is not called when a profile form is submitted on the front-end of the site. The hook is fired during the creation/edit of a profile. Found through a Google search</p>
  
  <pre><code>Page Title: hook_civicrm_processProfile - CiviCRM 4.3 Documentation ARCHIVE ...
  Page Link: wiki.civicrm.org:8090/confluence/pages/viewpage.action?pageId=86638695
  </code></pre>
  
  <p>Dropped the port 8090 in the SERP link to see the wiki page that says:</p>
  
  <blockquote>
    <p>This hook is invoked when processing a submitted CiviCRM profile form (e.g. for "civicrm/profile/create" or "civicrm/profile/edit"). This hook may be used to inject additional markup, scripts, or styles on the profile.</p>
  </blockquote>
  
  <p>I dont know why that important detail was dropped among other important details. The most recent wiki has no such text.</p>
  
  <p>Edit: added as issue in 2017devdocs.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-18T22:07:25.457Z
Answers.LastActivityDate: 2017-02-18T22:27:19.950Z
Answers.LastEditDate: 2017-02-18T22:27:19.950Z
Answers.UserDisplayName: Carlos NLF
Body: <p>After submitting the profile with success from the front-end of the site, a civicrm contact is created but the following hook is not working..</p>
  
  <pre><code>function wordpress_civicrm_processProfile($name) {
          if ($name === 'supporter_profile_91') {
                  die('we are here');
                  //also tried error_log(); nothing!
          }
  }
  </code></pre>
  
  <p>Its written in <code>wp-content/plugins/files/civicrm/custom-PHP/civicrmHooks.php</code> and other civihooks/wp functions in that file are firing correctly.</p>
  
  <p>Profile set from <code>Manage Contribution Pages &gt; [Specific Contribution Page] &gt; Personal Campaigns [tab] &gt; Supporter Profile</code></p>
  
Tags: <developer><hooks>
Title: civicrm_processProfile hook ignored
ThreadText: # civicrm_processProfile hook ignored
  
  (Asked by: username_0 on 2017-02-18)
  
  After submitting the profile with success from the front-end of the site, a civicrm contact is created but the following hook is not working..
  function wordpress_civicrm_processProfile($name) {
          if ($name === 'supporter_profile_91') {
                  die('we are here');
                  //also tried error_log(); nothing!
          }
  }
  
  Its written in wp-content/plugins/files/civicrm/custom-PHP/civicrmHooks.php and other civihooks/wp functions in that file are firing correctly.
  Profile set from Manage Contribution Pages > [Specific Contribution Page] > Personal Campaigns [tab] > Supporter Profile
  
  **Tags:** developer, hooks
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-02-18. Score: 0 | Accepted answer
  
  Turns out, this hook is not called when a profile form is submitted on the front-end of the site. The hook is fired during the creation/edit of a profile. Found through a Google search
  Page Title: hook_civicrm_processProfile - CiviCRM 4.3 Documentation ARCHIVE ...
  Page Link: wiki.civicrm.org:8090/confluence/pages/viewpage.action?pageId=86638695
  
  Dropped the port 8090 in the SERP link to see the wiki page that says:
  
  This hook is invoked when processing a submitted CiviCRM profile form (e.g. for "civicrm/profile/create" or "civicrm/profile/edit"). This hook may be used to inject additional markup, scripts, or styles on the profile.
  
  I dont know why that important detail was dropped among other important details. The most recent wiki has no such text.
  Edit: added as issue in 2017devdocs.
  
  
  ---
  
  