1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Added missing shortcode for MENUAREA.

This commit is contained in:
Cameron 2019-08-23 19:23:55 -07:00
parent 76bb75e802
commit 49aac0b88a

View File

@ -0,0 +1,26 @@
<?php
/**
* e107 website system
*
* Copyright (C) 2008-2019 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
if(!defined('e107_INIT'))
{
exit();
}
/**
* @example {MENUAREA=1}
*/
function menuarea_shortcode($parm, $mode='')
{
return e107::getMenu()->renderArea($parm);
}