TGMPA / TGM-Plugin-Activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.76k stars 429 forks source link

Redirect to specific URL after installation complete. #639

Closed cyberwani closed 7 years ago

cyberwani commented 7 years ago

I am working on a project, where I want to redirect on specific (admin) URL after installing/activating all (required) plugins in the list.

Actually, I have a page from where user can do basic and advanced settings to enable/disable various features before proceeding to site.

jrfnl commented 7 years ago

TGMPA was designed to handle the plugin requirements from various sources in one go. So a plugin can require some other plugins, a theme can require plugins etc.

Your suggestion to add an option to set the redirect admin url is not in line with that and IMHO should therefore not be added. There are a couple of deal breakers:

GaryJones commented 7 years ago

@jrfnl I think the OP was asking who he might achieve their desired redirect, rather than suggesting the default behaviour of TGMPA should change.

jrfnl commented 7 years ago

@GaryJones Hmm.. ok. In that case, the issue is a bit unclear. Maybe @cyberwani can elaborate?

jrfnl commented 7 years ago

Closing for lack of activity. The issues can be reopened if more pertinent information becomes available.