芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/ebpt.pulsehost.co.uk/wp-content/plugins/lte-ext/inc/demo/lt-demo.php
'Version'), false); $plugin_version = $plugin_data['Version']; define( 'LTE_DEMO_PLUGIN_VER', $plugin_version ); define( 'LTE', $plugin_version ); include LTE_DEMO_PLUGIN_DIR . 'includes/functions.php'; include LTE_DEMO_PLUGIN_DIR . 'includes/helpers.php'; include LTE_DEMO_PLUGIN_DIR . 'includes/class-backups.php'; include LTE_DEMO_PLUGIN_DIR . 'includes/class-backups-demo.php'; $backup = new LTE_Ext_Backups(); $backup->_init(); $demo = new LTE_Ext_Backups_Demo(); $demo->_init(); if ( !function_exists( 'lte_demo_config' ) ) { function lte_demo_config( $demos ) { $theme = wp_get_theme(get_template()); $demo = new LTE_Backups_Demo('tofit-demo', 'piecemeal', array( 'url' => 'https://updates.like-themes.com/tofit/?v='.esc_attr(wp_get_theme(get_template())->version), 'file_id' => 'tofit-demo', )); $demo->set_title( esc_html($theme->name.' '.$theme->version) ); $demo->set_screenshot( 'http://updates.like-themes.com/tofit/screenshot.png' ); $demos[ $demo->get_id() ] = $demo; return $demos; } } add_filter( 'lte:backups-demo:demos', 'lte_demo_config' ); add_action( 'lte:backups:tasks:before_process', 'lte_clear_elementor_cache' );