Function Hook_members_ecommerce->run
Definitions
sources/hooks/modules/members/ecommerce.php
- Find member-related links to inject to details section of the about tab of the member profile.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The ID of the member we are getting links for |
Returns
- List of pairs: title to value
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find member-related links to inject to details section of the about tab of the member profile.
*
* @param MEMBER $member_id The ID of the member we are getting links for
* @return array List of pairs: title to value
*/
public function run(int $member_id) : array
* Find member-related links to inject to details section of the about tab of the member profile.
*
* @param MEMBER $member_id The ID of the member we are getting links for
* @return array List of pairs: title to value
*/
public function run(int $member_id) : array

