public static function init()
 {
     //Add shortcodes
     include 'shortcodes.php';
     Shortcodes::init();
     add_action('plugins_loaded', array(__CLASS__, 'check_visual_composer_plugin'));
 }
 public function load()
 {
     add_action('wp_head', [__CLASS__, 'insert_script']);
     add_action('podlove_podcast_settings_tabs', [__CLASS__, 'podcast_settings_tabs']);
     add_filter('podlove_templates_global_context', [__CLASS__, 'add_flattr_to_template_context']);
     FeedExtension::init();
     ContributorExtension::init();
     Shortcodes::init();
 }
Example #3
0
            echo esc_html($atts['color']);
            ?>
&loop=<?php 
            echo esc_html($atts['loop']);
            ?>
&player_id=<?php 
            echo esc_html($atts['player_id']);
            ?>
&portrait=<?php 
            echo esc_html($atts['portrait']);
            ?>
&title=<?php 
            echo esc_html($atts['title']);
            ?>
&autoplay=<?php 
            echo esc_html($atts['autoplay']);
            ?>
&autopause=<?php 
            echo esc_html($atts['autopause']);
            ?>
"
                    frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
            </div>
            <?php 
            $vimeo = ob_get_clean();
        }
        return $vimeo;
    }
}
Shortcodes::init();