wp_widget_description example

<?php echo $noform_class; ?>"> <?php submit_button( __( 'Save' ), 'primary widget-control-save right', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> <span class="spinner"></span> </div> <br class="clear" /> </div> <?php echo $after_form; ?> </div> <div class="widget-description"> <?php     $widget_description = wp_widget_description( $widget_id );
    echo ( $widget_description ) ? "$widget_description\n" : "$widget_title\n";
    ?> </div> <?php     echo $sidebar_args['after_widget'];

    return $sidebar_args;
}

/** * @param string $classes * @return string */
Home | Imprint | This part of the site doesn't use cookies.