src/Mouf/Integration/Wordpress/Moufpress/MoufpressWidget.php
public function widget($args, $instance)
    {
        extract($args, EXTR_SKIP);
        echo $before_widget;
        $title = empty($instance['title']) ? null : apply_filters('widget_title', $instance['title']);
        if (!empty($title)) {
            echo $before_title.$title.$after_title;
        };

        MoufManager::getMoufManager()->get($instance['instance'])->toHtml();

        echo $after_widget;
    }
public function widget($args, $instance)
    {
        extract($args, EXTR_SKIP);
        echo $before_widget;
        $title = empty($instance['title']) ? null : apply_filters('widget_title', $instance['title']);
        if (!empty($title)) {
            echo $before_title.$title.$after_title;
        };

        MoufManager::getMoufManager()->get($instance['instance'])->toHtml();

        echo $after_widget;
    }
public function widget ( $ args , $ instance ) { extract ( $ args , EXTR_SKIP ) ; echo $ before_widget ; $ title = empty ( $ instance [ 'title' ] ) ? null : apply_filters ( 'widget_title' , $ instance [ 'title' ] ) ; if ( ! empty ( $ title ) ) { echo $ before_title . $ title . $ after_title ; } ; MoufManager :: getMoufManager ( ) -> get ( $ instance [ 'instance' ] ) -> toHtml ( ) ; echo $ after_widget ; }
Display widget.
Display widget .