Function __global->cns_member_choose_title
Definitions
sources/cns_members_action2.php
- Edit a member's personal title, and check validity.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $new_title | SHORT_TEXT | No | No | required parameter | N/A | N/A | The new title |
| $member_id | ?MEMBER | No | No | Null | N/A | N/A | The member (null: the current member) |
Preview
Code (PHP)
/**
* Edit a member's personal title, and check validity.
*
* @param SHORT_TEXT $new_title The new title
* @param ?MEMBER $member_id The member (null: the current member)
*/
function cns_member_choose_title(string $new_title, ?int $member_id = null)
* Edit a member's personal title, and check validity.
*
* @param SHORT_TEXT $new_title The new title
* @param ?MEMBER $member_id The member (null: the current member)
*/
function cns_member_choose_title(string $new_title, ?int $member_id = null)
