mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
27 lines
682 B
PHP
27 lines
682 B
PHP
<?php
|
|
/*
|
|
* Copyright (c) e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
|
* $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $
|
|
*
|
|
* Featurebox shortcode batch class - shortcodes available site-wide. ie. equivalent to multiple .sc files.
|
|
*/
|
|
|
|
if(!defined('e107_INIT'))
|
|
{
|
|
exit;
|
|
}
|
|
|
|
|
|
|
|
class _blank_shortcodes extends e_shortcode
|
|
{
|
|
public $override = false; // when set to true, existing core/plugin shortcodes matching methods below will be overridden.
|
|
|
|
// Example: {_BLANK_CUSTOM} shortcode - available site-wide.
|
|
function sc__blank_custom($parm = null) // Naming: "sc_" + [plugin-directory] + '_uniquename'
|
|
{
|
|
return "Hello World!";
|
|
}
|
|
|
|
}
|