Function Hook_import_ipb2->clean_ipb_post

Definitions

sources/hooks/modules/admin_import/ipb2.php

  • Decode an IPB post to be plain-text (a la Comcode).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$post LONG_TEXT No No required parameter N/A N/A IPB post

Returns

  • The cleaned post
  • Type: LONG_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Decode an IPB post to be plain-text (a la Comcode).
 *
 * @param  LONG_TEXT $post IPB post
 * @return LONG_TEXT The cleaned post
 */

public function clean_ipb_post(string $post) : string