Created
October 25, 2016 09:09
-
-
Save anonymous/ccbc8b5061303d9512fc354bc45009c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shortcode to display a container blockquote | |
public static function ShortcodeContainer($arguments, $content = null, | |
$parser = null, $tagName){ | |
$container = new ArrayList(); | |
$container->Content = $content; | |
if (isset($arguments['CustomClass']) && $arguments['CustomClass'] !== ''){ | |
$container->CC = $arguments['CustomClass']; | |
} | |
return $container->renderWith(array('Shortcodes', 'Container')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment