Function Hook_members_ecommerce->get_sections
Definitions
sources/hooks/modules/members/ecommerce.php
- Get sections to inject to 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 sections for |
Returns
- List of sections. Each tuple is Tempcode.
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get sections to inject to about tab of the member profile.
*
* @param MEMBER $member_id The ID of the member we are getting sections for
* @return array List of sections. Each tuple is Tempcode.
*/
public function get_sections(int $member_id) : array
* Get sections to inject to about tab of the member profile.
*
* @param MEMBER $member_id The ID of the member we are getting sections for
* @return array List of sections. Each tuple is Tempcode.
*/
public function get_sections(int $member_id) : array

