文件操作 - master-elementor-addons.php
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/plugin-wordpress/master-addons/master-elementor-addons.php
编辑文件内容
<?php /** * Plugin Name: Master Addons for Elementor * Description: Master Addons is easy and must have Elementor Addons for WordPress Page Builder. Clean, Modern, Hand crafted designed Addons blocks. * Plugin URI: https://master-addons.com * Author: Jewel Theme * Version: 1.4.2 * Author URI: https://master-addons.com * Text Domain: mela * Domain Path: /languages */ if ( !defined( 'ABSPATH' ) ) { exit; } // No, Direct access Sir !!! if ( function_exists( 'ma_el_fs' ) ) { ma_el_fs()->set_basename( false, __FILE__ ); } else { if ( !function_exists( 'ma_el_fs' ) ) { // Create a helper function for easy SDK access. function ma_el_fs() { global $ma_el_fs ; if ( !isset( $ma_el_fs ) ) { // Activate multisite network integration. if ( !defined( 'WP_FS__PRODUCT_4015_MULTISITE' ) ) { define( 'WP_FS__PRODUCT_4015_MULTISITE', true ); } // Include Freemius SDK. require_once dirname( __FILE__ ) . '/lib/freemius/start.php'; $ma_el_fs = fs_dynamic_init( [ 'id' => '4015', 'slug' => 'master-addons', 'type' => 'plugin', 'public_key' => 'pk_3c9b5b4e47a06288e3500c7bf812e', 'is_premium' => false, 'has_affiliation' => 'all', 'has_addons' => false, 'has_paid_plans' => true, 'trial' => [ 'days' => 14, 'is_require_payment' => false, ], 'menu' => [ 'slug' => 'master-addons-settings', 'first-path' => 'admin.php?page=master-addons-settings', 'account' => true, ], 'is_live' => true, ] ); } return $ma_el_fs; } // Init Freemius. ma_el_fs(); // Signal that SDK was initiated. do_action( 'ma_el_fs_loaded' ); } } // Instantiate Master Addons Class if ( !class_exists( '\\MasterAddons\\Master_Elementor_Addons' ) ) { require_once dirname( __FILE__ ) . '/class-master-elementor-addons.php'; } if ( ma_el_fs()->is_not_paying() ) { require_once dirname( __FILE__ ) . '/inc/freemius-config.php'; } /* Activation And De-Activation Hook */ register_activation_hook( __FILE__, 'ma_el_redirect' ); // Plugin Redirect Option Added by register_activation_hook if ( !function_exists( 'ma_el_redirect' ) ) { function ma_el_redirect() { add_option( 'ma_el_update_redirect', true ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件