custom-directory-desc.php
1 year ago
custom-directory.php
1 year ago
external-database.php
1 year ago
login-data.php
1 year ago
login-data.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | use WPStaging\Staging\Service\AbstractStagingSetup; |
| 4 | |
| 5 | /** |
| 6 | * This file is currently used in both FREE and PRO. |
| 7 | * @var AbstractStagingSetup $stagingSetup |
| 8 | */ |
| 9 | |
| 10 | $stagingSetup->renderAdvanceSettings( |
| 11 | 'wpstg-new-admin-user', |
| 12 | esc_html__('New Admin Account', 'wp-staging'), |
| 13 | esc_html__('Create a new admin user account for this staging site!', 'wp-staging') . '<br/><br/><span class="wpstg--red wpstg-mt-10px">' . esc_html__('If the account already exists, the password will be updated.', 'wp-staging') . '</span>', |
| 14 | false, |
| 15 | 'wpstg-toggle-advance-settings-section', |
| 16 | 'wpstg-new-admin-user-section' |
| 17 | ); |
| 18 | |
| 19 | ?> |
| 20 | |
| 21 | <div id="wpstg-new-admin-user-section" <?php echo $stagingSetup->getIsOpenDisabledSettingsSectionByDefault() ? '' : 'style="display: none;"' ?>> |
| 22 | <?php $stagingSetup->renderNewAdminSettings() ?> |
| 23 | <hr /> |
| 24 | </div> |
| 25 |