Function __global->add_custom_comcode_tag

Definitions

sources/custom_comcode.php

  • Add a custom Comcode tag.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$tag ID_TEXT required parameter N/A N/A Tag name
$title mixed required parameter N/A N/A Tag title (string, or content language string ID)
$description mixed required parameter N/A N/A Tag description (string, or content language string ID)
$replace LONG_TEXT required parameter N/A N/A Tag replacement text
$example LONG_TEXT required parameter N/A N/A Tag example
$parameters SHORT_TEXT required parameter N/A N/A Tag parameters
$enabled BINARY required parameter N/A N/A Whether the tag is enabled
$dangerous_tag BINARY required parameter N/A N/A Whether the tag is disabled
$block_tag BINARY required parameter N/A N/A Whether the tag is a block tag
$textual_tag BINARY required parameter N/A N/A Whether the tag is a textual tag
$uniqify boolean False N/A N/A Whether to force the name as unique, if there's a conflict

Return

  • The tag name
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A