I have searched around for an answer to this question and I found this: Manual display of widget which gave me a solution of:
if(function_exists('the_widget')) {
$instance = get_option( 'widget_backspikewidget' );
the_widget('BackSpikeWidget', $instance[2]);
}
Which works. But as the @greatwitenorth points out in his answer, it includes the issue that if the array key changes this solution breaks.
So does anyone know of a more secure way to pull the settings for the widget set in the admin panel when using the_widget?
EDIT: So I am not sure I was being clear enough in my question. Here is what I am doing. I am creating a plugin that includes a widget. The plugin is going to be used on multiple websites. Each user has a bunch of options they can set for the widget in their admin dashboard. I then want to make sure that the widget, with the users selected options, is always present on a page that is also created by the plugin. So I have hardcoded the widget in the page using the_widget() and I have grabbed the options set by the user to set up the instance of the widget to match the same configuration the widget will have if they install the widget elsewhere in the site. Is there anyway the user could break this without deactivating or uninstalling the plugin? Thanks again!