esc_html__( 'Example Widget', 'colormag' ),
'text' => sprintf(
/* Translators: 1. Opening of the link for widgets.php WordPress section, 2. Closing of the link for widgets.php WordPress section */
esc_html__( 'This is an example widget to show how the WooCommerce Right Sidebar looks by default. You can add custom widgets from the %swidgets screen%s in the admin. If custom widgets is added than this will be replaced by those widgets.', 'colormag' ),
current_user_can( 'edit_theme_options' ) ? '' : '',
current_user_can( 'edit_theme_options' ) ? '' : ''
),
'filter' => true,
),
array(
'before_widget' => '',
'before_title' => '',
)
);
else :
dynamic_sidebar( 'colormag_woocommerce_right_sidebar' );
endif;
?>