관리-도구
편집 파일: pagelayer.php
<?php /* Plugin Name: PageLayer Plugin URI: http://wordpress.org/plugins/pagelayer/ Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser. Version: 1.8.5 Author: Pagelayer Team Author URI: https://pagelayer.com/ License: LGPL v2.1 License URI: http://www.gnu.org/licenses/lgpl-2.1.html */ // We need the ABSPATH if (!defined('ABSPATH')) exit; if(!function_exists('add_action')){ echo 'You are not allowed to access this page directly.'; exit; } $_tmp_plugins = get_option('active_plugins'); // If PAGELAYER_VERSION exists then the plugin is loaded already ! if(defined('PAGELAYER_VERSION')) { return; } define('PAGELAYER_FILE', __FILE__); include_once(dirname(__FILE__).'/init.php');