| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/aecm.ihu.gr/wp-content/plugins/learnpress/inc/admin/views/tools/ |
Upload File : |
<?php /** * @author ThimPress * @package LearnPress/Admin/Views * @version 3.0.0 */ defined( 'ABSPATH' ) || die(); ?> <div class="card"> <h2><?php _e( 'LearnPress hard cache', 'learnpress' ); ?></h2> <p><?php _e( 'Hard cache is build-in tool of LearnPress for caching of static content such as course, lesson, quiz.', 'learnpress' ); ?></p> <p><?php _e( 'When caching is enabled, the content will be cached when course is accessed in the first time.', 'learnpress' ); ?></p> <p><?php _e( 'And it will not change in all later accesses until the cache is cleared.', 'learnpress' ); ?></p> <p><?php _e( 'If the content is not changed after updating course, click the button below to flush the cache and apply changes.', 'learnpress' ); ?></p> <label> <input type="checkbox" name="enable_hard_cache" value="1" <?php checked( LP_Settings::instance()->get( 'enable_hard_cache' ), 'yes' ); ?>> <?php _e( 'Enable/Disable hard cache', 'learnpress' ); ?> </label> <p class="tools-button"> <a class="button" id="learn-press-clear-cache" data-text="<?php esc_attr_e( 'Clear cache', 'learnpress' ); ?>" data-cleaning-text="<?php esc_attr_e( 'Cleaning...', 'learnpress' ); ?>" href="<?php echo wp_nonce_url( admin_url( 'index.php?page=lp-clear-cache' ), 'clear-cache' ); ?>"> <?php esc_html_e( 'Clear cache', 'learnpress' ); ?> </a> </p> </div>