PluginProbe
Estatik Real Estate Plugin / 3.8.7
Estatik Real Estate Plugin v3.8.7
trunk 1.0.0 1.0.1 1.1.1 2.0 2.0.1 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.4.0 3.0 3.0.1 3.0.2 3.1.1 3.11.14 3.2.0 3.3.1 3.3.2 3.3.3 All 55 releases
estatik / estatik.php

estatik.php in Estatik Real Estate Plugin 3.8.7, at estatik.php

53 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Estatik
5 * Plugin URI: http://estatik.net
6 * Description: A simple version of Estatik Real Estate plugin for Wordpress.
7 * Version: 3.8.7.1
8 * Author: Estatik
9 * Author URI: http://estatik.net
10 * Text Domain: es-plugin
11 * License: GPL2
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
13 * Domain Path: /languages
14 */
15
16 if ( ! defined( 'WPINC' ) ) {
17 die;
18 }
19
20 define( 'ES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
21 define( 'ES_PLUGIN_PATH', dirname( __FILE__ ) );
22 define( 'ES_ADMIN_IMAGES_URL', ES_PLUGIN_URL . 'admin/assets/images/' );
23 define( 'ES_ADMIN_CUSTOM_STYLES_URL', ES_PLUGIN_URL . '/admin/assets/css/custom/' );
24 define( 'ES_ADMIN_VENDOR_STYLES_URL', ES_PLUGIN_URL . '/admin/assets/css/vendor/' );
25 define( 'ES_ADMIN_CUSTOM_SCRIPTS_URL', ES_PLUGIN_URL . '/admin/assets/js/custom/' );
26 define( 'ES_ADMIN_VENDOR_SCRIPTS_URL', ES_PLUGIN_URL . '/admin/assets/js/vendor/' );
27 define( 'ES_ADMIN_TEMPLATES', ES_PLUGIN_PATH . '/admin/templates/' );
28 define( 'ES_TEMPLATES', ES_PLUGIN_PATH . '/templates/' );
29 define( 'ES_DS', DIRECTORY_SEPARATOR );
30 define( 'ES_PLUGIN_BASENAME', plugin_basename(__FILE__) );
31
32 // Main plugin class.
33 require_once 'classes/class-estatik-init.php';
34
35 // Register function on activate plugin action.
36 register_activation_hook( __FILE__, array( 'Estatik', 'install' ) );
37
38 /**
39 * Load plugin textdomain.
40 *
41 * @since 1.0.0
42 */
43 function es_load_textdomain() {
44 load_plugin_textdomain( 'es-plugin', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
45 }
46 add_action( 'plugins_loaded', 'es_load_textdomain' );
47
48 // Initialize plugin.
49 Estatik::run();
50
51 register_deactivation_hook( __FILE__, array( 'Estatik', 'activation' ) );
52 register_activation_hook( __FILE__, array( 'Estatik', 'deactivation' ) );
53