Function __global->_build_stored_menu

Definitions

sources/menus.php

  • Take a menu identifier, and return the editable menu.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$menu_id SHORT_TEXT No No required parameter N/A N/A The menu identifier to use (the name of a editable menu)

Returns

  • The menu branch structure
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Take a menu identifier, and return the editable menu.
 *
 * @param  SHORT_TEXT $menu_id The menu identifier to use (the name of a editable menu)
 * @return array The menu branch structure
 */

function _build_stored_menu(string $menu_id) : array