Is it possible to use redux values with echo in a custom made widget?
my-widget.php is included in function.php with global $opt_name defined in top of fuction.php
Want to use:
echo $opt_name['very-nice-input'];
Excerpt from my-widget.php showing front-end display of widget.
echo $args['before_widget'];
if ( ! empty( $instance['title'] ) ) {
echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ). $args['after_title'];
}
echo $opt_name['very-nice-input'];
echo $args['after_widget'];
}