Function __global->is_raw_code_template

Definitions

sources/lorem.php

  • Checks if the template is to be previewed as displayed raw code.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$temp_name string No No required parameter N/A N/A Name of the template

Returns

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Checks if the template is to be previewed as displayed raw code.
 *
 * @param  string $temp_name Name of the template
 * @return boolean Whether it is
 */

function is_raw_code_template(string $temp_name) : bool