Function Forum_driver_cns->get_member_email_allowed

Definitions

sources/forum/cns.php

  • Find if this member may have e-mails sent to them.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A The member ID

Returns

  • Whether the member may have e-mails sent to them
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if this member may have e-mails sent to them.
 *
 * @param  MEMBER $member_id The member ID
 * @return boolean Whether the member may have e-mails sent to them
 */

public function get_member_email_allowed(int $member_id) : bool