Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/plugins/wp-optimize/templates/settings/ |
Upload File : |
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> <h3 class="wpo-first-child"><?php esc_html_e('General settings', 'wp-optimize'); ?></h3> <div class="wpo-fieldgroup"> <p> <label> <input name="enable-admin-bar" id="enable-admin-bar" type="checkbox" value ="true" <?php echo ($options->get_option('enable-admin-menu', 'false') == 'true') ? 'checked="checked"' : ''; ?> /> <?php esc_html_e('Enable admin bar menu', 'wp-optimize'); ?> </label> <br> <small><?php esc_html_e('This option will add a link labeled "WP-Optimize" in the top admin bar, for easy access to the different features.', 'wp-optimize'); ?> <?php esc_html_e('Requires a page refresh after saving the settings.', 'wp-optimize'); ?></small> </p> <p> <label> <input name="enable_cache_in_admin_bar" id="enable-cache-admin-bar" type="checkbox" value ="1" <?php checked($options->get_option('enable_cache_in_admin_bar', true)); ?> /> <?php esc_html_e('Enable the caching menu in the admin bar', 'wp-optimize'); ?> </label> <br> <small><?php esc_html_e('This option will add a caching menu on the top admin bar.', 'wp-optimize'); ?> <?php esc_html_e('Requires a page refresh after saving the settings.', 'wp-optimize'); ?></small> </p> </div>