Function __global->export_menu_spreadsheet
Definitions
sources/menus2.php
- Export a menu structure to a spreadsheet file.This function is intended for programmers, writing upgrade scripts for a custom site (dev>staging>live).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $file_path | ?PATH | No | No | Null | N/A | N/A | The path to the spreadsheet file (null: uploads/website_specific/cms_menu_items.<default file type>) |
Preview
Code (PHP)
/**
* Export a menu structure to a spreadsheet file.This function is intended for programmers, writing upgrade scripts for a custom site (dev>staging>live).
*
* @param ?PATH $file_path The path to the spreadsheet file (null: uploads/website_specific/cms_menu_items.<default file type>)
*/
function export_menu_spreadsheet(?string $file_path = null)
* Export a menu structure to a spreadsheet file.This function is intended for programmers, writing upgrade scripts for a custom site (dev>staging>live).
*
* @param ?PATH $file_path The path to the spreadsheet file (null: uploads/website_specific/cms_menu_items.<default file type>)
*/
function export_menu_spreadsheet(?string $file_path = null)

