| Server IP : 104.21.28.229 / Your IP : 216.73.216.142 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/public_html/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>