# pagelayer/0.9.2/pagelayer.php

Page Builder: Pagelayer – Drag and Drop website builder, version 0.9.2. 34 lines.

- Page: https://pluginprobe.com/plugins/pagelayer/0.9.2/code/pagelayer.php
- Raw: https://pluginprobe.com/plugins/pagelayer/0.9.2/raw/pagelayer.php
- Modified: 2019-04-16T10:55:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/pagelayer/0.9.2/code/pagelayer.php#L10-L20`.

```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: 0.9.2
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');

// Is the premium plugin loaded ?
if(in_array('pagelayer-pro/pagelayer-pro.php', $_tmp_plugins)){
	return;
}

// If PAGELAYER_VERSION exists then the plugin is loaded already !
if(defined('PAGELAYER_VERSION')) {
	return;
}

include_once(dirname(__FILE__).'/init.php');

```
