Function __global->import_foreign_news_html

Definitions

sources/news2.php

  • Get data from wordpress DB.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$html string No No required parameter N/A N/A HTML
$force_linebreaks boolean No No False N/A N/A Whether to add in HTML line breaks from whitespace ones

Returns

  • Comcode
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get data from wordpress DB.
 *
 * @param  string $html HTML
 * @param  boolean $force_linebreaks Whether to add in HTML line breaks from whitespace ones
 * @return string Comcode
 */

function import_foreign_news_html(string $html, bool $force_linebreaks = false) : string