Function Hook_import_ipb2->clean_ipb_post_2

Definitions

sources/hooks/modules/admin_import/ipb2.php

  • Fix non-HTML parts of IPB posts.
  • 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)

/**
 * Fix non-HTML parts of IPB posts.
 *
 * @param  LONG_TEXT $post IPB post
 * @return LONG_TEXT The cleaned post
 */

public function clean_ipb_post_2(string $post) : string