Function __global->dispatch_member_mention_notifications

Definitions

sources/member_mentions.php

  • Dispatch any pending member mention notifications ("mentions").
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$content_type ID_TEXT No No required parameter N/A N/A The content type
$content_id ID_TEXT No No required parameter N/A N/A The content ID
$submitter ?MEMBER No No Null N/A N/A The content submitter (null: current user)

Preview

Code (PHP)

/**
 * Dispatch any pending member mention notifications ("mentions").
 *
 * @param  ID_TEXT $content_type The content type
 * @param  ID_TEXT $content_id The content ID
 * @param  ?MEMBER $submitter The content submitter (null: current user)
 */

function dispatch_member_mention_notifications(string $content_type, string $content_id, ?int $submitter = null)