e107inc/e107

View on GitHub
e107_plugins/_blank/e_shortcode.php

Summary

Maintainability
A
0 mins
Test Coverage
C
75%
<?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!";
    }

}