/**
  * Initiate required filters.
  *
  * @author Vova Feldman (@svovaf)
  * @since  1.0.4
  */
 private function _filters()
 {
     // Override request for plugin information
     add_filter('plugins_api', array(&$this, 'plugins_api_filter'), 10, 3);
     // WP 3.0+
     add_filter('pre_set_site_transient_update_plugins', array(&$this, 'pre_set_site_transient_update_plugins_filter'));
     if (!$this->_fs->has_active_valid_license()) {
         /**
          * If user has the premium plugin's code but do NOT have an active license,
          * encourage him to upgrade by showing that there's a new release, but instead
          * of showing an update link, show upgrade link to the pricing page.
          *
          * @since 1.1.6
          *
          */
         // WP 2.9+
         add_action("after_plugin_row_{$this->_fs->get_plugin_basename()}", array(&$this, 'catch_plugin_update_row'), 9);
         add_action("after_plugin_row_{$this->_fs->get_plugin_basename()}", array(&$this, 'edit_and_echo_plugin_update_row'), 11, 2);
     }
     if (!WP_FS__IS_PRODUCTION_MODE) {
         add_filter('http_request_host_is_external', array($this, 'http_request_host_is_external_filter'), 10, 3);
     }
 }