Function __global->copy_from_sitemap_to_new_menu
Definitions
sources/menus2.php
- Copy a part of the Sitemap to a new menu.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $target_menu | ID_TEXT | No | No | required parameter | N/A | N/A | The ID of the menu to save into |
| $source | SHORT_TEXT | No | No | required parameter | N/A | N/A | Sitemap details |
Preview
Code (PHP)
/**
* Copy a part of the Sitemap to a new menu.
*
* @param ID_TEXT $target_menu The ID of the menu to save into
* @param SHORT_TEXT $source Sitemap details
*/
function copy_from_sitemap_to_new_menu(string $target_menu, string $source)
* Copy a part of the Sitemap to a new menu.
*
* @param ID_TEXT $target_menu The ID of the menu to save into
* @param SHORT_TEXT $source Sitemap details
*/
function copy_from_sitemap_to_new_menu(string $target_menu, string $source)

