mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
add a default shortcode
This commit is contained in:
16
e107_plugins/featurebox/e_shortcode.php
Normal file
16
e107_plugins/featurebox/e_shortcode.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) e107 Inc 2009 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: e_shortcode.php,v 1.1 2009-11-25 12:01:25 e107coders Exp $
|
||||
*
|
||||
* Banner shortcode batch class - shortcodes available site-wide. ie. equivalent to multiple .sc files.
|
||||
*/
|
||||
|
||||
class featurebox_shortcodes // must match the plugin's folder name. ie. [PLUGIN_FOLDER]_shortcodes
|
||||
{
|
||||
function sc_featurebox($parm)
|
||||
{
|
||||
require_once(e_PLUGIN."featurebox/featurebox.php");
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user