Function __global->syndicate_content

Definitions

sources/syndication.php

  • Syndicate a content object out, and also send out activities relating to the same content.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$content_type string required parameter N/A N/A Content type
$content_id string required parameter N/A N/A Content ID
$activities array required parameter N/A N/A A list of activity tuples, each tuple having the language string, optionally the activity member, and optionally up to 3 labels
$syndication_context ?array Null N/A N/A A serialisable representation of data set via get_syndication_option_fields (null: read from environment)