Function __global->wysiwygify_media_set

Definitions

sources/comcode_from_html.php

  • Strip down the contents of the media_set tag for easier WYSIWYG-editing.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$semihtml LONG_TEXT No No required parameter N/A N/A The Semi-HTML to be converted

Returns

  • The equivalent Comcode
  • Type: LONG_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Strip down the contents of the media_set tag for easier WYSIWYG-editing.
 *
 * @param  LONG_TEXT $semihtml The Semi-HTML to be converted
 * @return LONG_TEXT The equivalent Comcode
 */

function wysiwygify_media_set(string $semihtml) : string