Function __global->make_sentence_case_callback

Definitions

sources/input_filter.php

  • preg_replace callback to apply sentence case.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$matches array No No required parameter N/A N/A Matches

Returns

  • De-shouted string
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * preg_replace callback to apply sentence case.
 *
 * @param  array $matches Matches
 * @return string De-shouted string
 */

function make_sentence_case_callback(array $matches) : string