Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function IframeShortCodeHandler($arguments) {
- // first things first, if we dont have ID, then we don't need to
- // go any further
- if (empty($arguments['id'])) {
- return;
- }
- $customise = array();
- $customise['url'] = $arguments['id'];
- //get our Iframe template
- $template = new SSViewer('Iframe');
- //return the customised template
- return $template->process(new ArrayData($customise));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement