Function __global->get_block_id

Definitions

sources/zones.php

  • Get a unique ID representing a block call.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$map array No No required parameter N/A N/A The block parameter map

Returns

  • The block ID
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a unique ID representing a block call.
 *
 * @param  array $map The block parameter map
 * @return ID_TEXT The block ID
 */

function get_block_id(array $map) : string