File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed
docs/development/extension-hooks Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,10 @@ Additional processing of email address sent via control panel reset password for
7979
8080How it's called:
8181
82- ```
8382 if (ee()->extensions->active_hook('member_auth_send_reset_token_start')) {
8483 $address = ee()->extensions->call('member_auth_send_reset_token_start', $address);
8584 if (ee()->extensions->end_script === true) {
8685 return;
8786 }
8887 }
89- ```
90-
88+
Original file line number Diff line number Diff line change @@ -25,11 +25,9 @@ Overwrite an email `from` address.
2525
2626How it's called:
2727
28- ```
2928 if (ee()->extensions->active_hook('email_from_address')) {
3029 $from = ee()->extensions->call('email_from_address', $from, $name);
3130 }
32- ```
3331
3432## ` email_to_address($to) `
3533
@@ -42,18 +40,13 @@ Overwrite an email `to` address.
4240
4341How it's called:
4442
45- ```
4643 if (ee()->extensions->active_hook('email_to_address')) {
4744 $to = ee()->extensions->call('email_to_address', $to);
4845 }
49- ```
50-
5146
5247## ` email_send(&$data) `
5348
5449
55-
56-
5750| Parameter | Type | Description |
5851| --------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5952| &\$ data | ` Array ` | Array of data about email to be sent (see above) passed [ by reference] ( https://php.net/manual/en/language.references.pass.php ) so data may be altered without needing to return the altered data |
Original file line number Diff line number Diff line change @@ -80,15 +80,12 @@ Additional processing of email address sent via reset password form. Happens af
8080
8181How it's called:
8282
83- ```
8483 if (ee()->extensions->active_hook('member_auth_send_reset_token_start')) {
8584 $address = ee()->extensions->call('member_auth_send_reset_token_start', $address);
8685 if (ee()->extensions->end_script === true) {
8786 return;
8887 }
8988 }
90- ```
91-
9289
9390## ` member_process_reset_password() `
9491
You can’t perform that action at this time.
0 commit comments