Files
CHIEFSOFT\ameye e9e5c0546c first commit
2023-11-30 13:20:54 -05:00

56 lines
1.5 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Plugin Name: Sight Professional Image Gallery and Portfolio
* Description: Beautiful responsive galleries and portfolio of your work.
* Version: 1.0.8
* Author: Code Supply Co.
* Author URI: https://codesupply.co
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: sight
* Domain Path: /languages
*
* @link https://codesupply.co
* @package Sight
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Variables
*/
define( 'SIGHT_URL', plugin_dir_url( __FILE__ ) );
define( 'SIGHT_PATH', plugin_dir_path( __FILE__ ) );
/**
* The code that runs during plugin activation.
* This action is documented in includes/class-sight-activator.php
*/
function sight_activate() {
do_action( 'sight_plugin_activation' );
}
register_activation_hook( __FILE__, 'sight_activate' );
/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-sight-deactivator.php
*/
function sight_deactivate() {
do_action( 'sight_plugin_deactivation' );
}
register_deactivation_hook( __FILE__, 'sight_deactivate' );
/**
* Language
*/
load_plugin_textdomain( 'sight', false, plugin_basename( SIGHT_PATH ) . '/languages' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'core/class-sight.php';