/**
  * Get the URL of the page that should be loaded right after the plugin activation.
  *
  * @author Vova Feldman (@svovaf)
  * @since  1.1.7.4
  *
  * @return string
  */
 function get_after_plugin_activation_redirect_url()
 {
     $url = false;
     $plugin_fs = false;
     if (!$this->is_addon()) {
         $first_time_path = $this->_menu->get_first_time_path();
         $plugin_fs = $this;
         $url = $plugin_fs->is_activation_mode() ? $plugin_fs->get_activation_url() : (empty($first_time_path) ? $this->_get_admin_page_url() : $first_time_path);
     } else {
         if ($this->is_parent_plugin_installed()) {
             $plugin_fs = self::get_parent_instance();
         }
         if (is_object($plugin_fs)) {
             if (!$plugin_fs->is_registered()) {
                 // Forward to parent plugin connect when parent not registered.
                 $url = $plugin_fs->get_activation_url();
             } else {
                 // Forward to account page.
                 $url = $plugin_fs->_get_admin_page_url('account');
             }
         }
     }
     return $url;
 }