neelakansha85 / site-setup-wizard

Wordpress Site Setup Wizard Plugin which allows creating a site in wordpress multisite install in steps with pre-selected features while setting up their sites.
GNU General Public License v2.0
20 stars 10 forks source link

Skip/Hide Features page if required by super admin #34

Open neelakansha85 opened 8 years ago

neelakansha85 commented 8 years ago

Allow super admins to hide Features page if required. Requested by a user on support forum.

neelakansha85 commented 8 years ago

This is a part of Issue 33 which is a broader scope. For now it is possible to hide the Features page starting version 1.5.5.

You can achieve this by modifying below two files:

  1. step3.php as below

<input id="ssw-next-stage" name="ssw_next_stage" type="hidden" value="ssw_finish"/>

  1. ssw_breadcrumb_text.php as below:

/* echo '>'.$steps_name['step4'].'</span> -> <span '; if(isset($finish)) { echo 'class="sww-breadcrumb-selected"'; } */

NOTE: This will be overwritten with every new plugin update since it is kind of hack for now and not implemented as a setting for the plugin. You will have to perform above steps after every plugin update in order to hide Features page from your network.