<?php /* * Plugin Name: Pootle Page Builder Pro * Plugin URI: http://pootlepress.com/ * Description: Pro add on for pootle page builder, exhibit your posts, WooCommerce products, photos in grids, masonry layout or slides. Customize individual pages and create beautiful one page parallax websites. * Author: pootlepress * Version: 1.0.0 * Author URI: http://pootlepress.com/ * @developer wpdevelopment.me <*****@*****.**> */ /** Set variables */ require 'inc/vars.php'; /** Plugin admin class */ require 'inc/class-admin.php'; /** Plugin public class */ require 'inc/class-public.php'; /** Including Framework class */ require 'class-framework.php'; /** Including Main Plugin class */ require 'class-ppbpro.php'; /** Intantiating main plugin class */ Pootle_Page_Builder_Pro::instance(__FILE__);
/** * Constructor function. * @param string $file __FILE__ of the main plugin * @access private * @since 1.0.0 */ protected function __construct($file) { self::$token = 'ppbpro'; self::$file = $file; self::$url = plugin_dir_url($file); self::$path = dirname($file); self::$version = '1.0.0'; parent::__construct(); register_activation_hook($file, array($this, 'activated')); add_action('plugins_loaded', array($this, 'init'), 7); }