1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 15:31:41 +02:00

Issue #690 - Option added to enable e_shortcode.php to override other core/plugin shortcodes.

This commit is contained in:
Cameron
2016-04-22 11:54:18 -07:00
parent 16d0417b70
commit 58a3926c54
3 changed files with 40 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ if(!defined('e107_INIT'))
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'