/**
  * Echo the widget content
  */
 function display_widget($instance, $before_title = '', $title = '', $after_title = '')
 {
     extract($instance, EXTR_SKIP);
     include the_wp_locate_widget('content-blocks');
     // Loads the widget/content-blocks or template-parts/widget-content-blocks.php template.
 }
Beispiel #2
0
 /**
  * Echo the widget content
  */
 function display_widget($instance, $before_title = '', $title = '', $after_title = '')
 {
     extract($instance, EXTR_SKIP);
     include the_wp_locate_widget('social-icons');
     // Loads the widget/social-icons or template-parts/widget-social-icons.php template.
 }