title: issue in loading redux framework options into wordpress widget activate & deactivate
body: <p>I am trying to use reudx frame as option panel for a plugin. On this plugin, there is a widget which will be activated based on the settings of option panel. </p>
  
  <p>For example, if the option panel, particular switch id is set to on /true /yes, then the widget should show on the widget manager section. Otherwise widget will not show in the widget manager section.</p>
  
  <p>I have used following code, to get values to widget class file. </p>
  
  <pre><code>if ($GLOBALS['redux_demo']['myoption'] = true ) {
      add_action( 'widgets_init', 'register_mywidget' );
  
  }
  </code></pre>
  
  <p><strong>$redux_demo</strong> is global setting for redux_options.
  myoption is the id of the section, where the setting stores data</p>
  
  <p>when i do print_r i get the value on $GLOBALS['redux_demo']['myoption'] as 1</p>
  
  <p>but, when it put the code as above, the widget won't disapper, when the setting is marked to '0'.</p>
  
  <p>please help. </p>