PluginProbe
Sight – Professional Image Gallery and Portfolio / 1.1.3
Sight – Professional Image Gallery and Portfolio v1.1.3
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
sight / sight.php

sight.php in Sight – Professional Image Gallery and Portfolio 1.1.3, at sight.php

56 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Sight – Professional Image Gallery and Portfolio
4 * Description: Beautiful responsive galleries and portfolio of your work.
5 * Version: 1.1.3
6 * Author: Code Supply Co.
7 * Author URI: https://codesupply.co
8 * License: GPL-2.0+
9 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
10 * Text Domain: sight
11 * Domain Path: /languages
12 *
13 * @link https://codesupply.co
14 * @package Sight
15 */
16
17 // If this file is called directly, abort.
18 if ( ! defined( 'WPINC' ) ) {
19 die;
20 }
21
22 /**
23 * Variables
24 */
25 define( 'SIGHT_URL', plugin_dir_url( __FILE__ ) );
26 define( 'SIGHT_PATH', plugin_dir_path( __FILE__ ) );
27
28 /**
29 * The code that runs during plugin activation.
30 * This action is documented in includes/class-sight-activator.php
31 */
32 function sight_activate() {
33 do_action( 'sight_plugin_activation' );
34 }
35 register_activation_hook( __FILE__, 'sight_activate' );
36
37 /**
38 * The code that runs during plugin deactivation.
39 * This action is documented in includes/class-sight-deactivator.php
40 */
41 function sight_deactivate() {
42 do_action( 'sight_plugin_deactivation' );
43 }
44 register_deactivation_hook( __FILE__, 'sight_deactivate' );
45
46 /**
47 * Language
48 */
49 load_plugin_textdomain( 'sight', false, plugin_basename( SIGHT_PATH ) . '/languages' );
50
51 /**
52 * The core plugin class that is used to define internationalization,
53 * admin-specific hooks, and public-facing site hooks.
54 */
55 require plugin_dir_path( __FILE__ ) . 'core/class-sight.php';
56