Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Shortcode support
- if ($shortcode) {
- $data = json_decode($post->post_content);
- foreach ($data->levels as $level) {
- foreach($level->locations as $location) {
- if (isset($location->description)) $location->description = do_shortcode($location->description);
- }
- }
- $data = apply_filters('mapplic_data', $data, $id);
- $data = json_encode($data);
- }
- [video width="1920" height="1080" mp4="http://localhost/ravenna88/video/playground-final.mp4" autoplay="true"][/video]
Add Comment
Please, Sign In to add comment