'widget_social_share', 'description' => esc_html__( 'Connect Socially Widget', 'blog-mantra' ), ); parent::__construct( 'blog-mantra-connect-socially', esc_html__( 'Blog Mantra: Connect Socially', 'blog-mantra' ), $opts ); } /** * Echo the widget content. * * @since 1.0.0 * * @param array $args Display arguments including before_title, after_title, * before_widget, and after_widget. * @param array $instance The settings for the particular instance of the widget. */ function widget( $args, $instance ) { $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo $args['before_widget']; if ( ! empty( $title ) ) { echo $args['before_title'] . esc_html( $title ) . $args['after_title']; } ?>
'', ) ); ?>