Function __global->handle_default_comcode_text

Definitions

sources/form_templates.php

  • Put in default text to a Comcode field, if it's not pre-populated with anything.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
&$default ?string Yes No required parameter N/A N/A Default value (null: not set) (blank: not set)

Preview

Code (PHP)

/**
 * Put in default text to a Comcode field, if it's not pre-populated with anything.
 *
 * @param  ?string $default Default value (null: not set) (blank: not set)
 */

function handle_default_comcode_text(?string &$default)