Add details to hook_civicrm_processProfile
Created by: clnlf
Offending URL:
https://docs.civicrm.org/dev/en/master/hooks/hook_civicrm_processProfile/
The current Description reads
This hook is called processing a valid profile form submission.
As a dev-newcomer, figured this hook was fired during a [profile] form submission on the front-end of a website.
Turns out, an old wiki page made it clear how this hook works:
Add to Description:
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.
Add to Parameters:
string $name - the portable name of the profile form (In SQL, this corresponds to the "name" column of table "civicrm_uf_group". It generally looks like a munged version of the form's title.)