| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/plugins/essential-grid/includes/ |
Upload File : |
<?php
/**
* Social Gallery WordPress Photo Viewer Plugin Extension
* @url: http://codecanyon.net/item/social-gallery-wordpress-photo-viewer-plugin/2665332
* @link http://www.themepunch.com/essential/
* @copyright 2016 ThemePunch
* @since: 2.0.1
**/
if( !defined( 'ABSPATH') ) exit();
class Essential_Grid_Social_Gallery {
/**
* Check if Social Gallery is activated and at least version x.x is installed
**/
public static function sg_exists(){
if(!apply_filters( 'socialgallery-installed', false)){
$exists = false;
}else{
$exists = true;
}
return apply_filters('essgrid_sg_exists', $exists);
}
/**
* Check if Social Gallery is active in the Essential Grid Global options
**/
public static function is_active(){
$active = false;
if(self::sg_exists()){
$opt = get_option('tp_eg_use_lightbox', 'false');
if($opt === 'sg') $active = true;
}
return apply_filters('essgrid_is_active', $active);
}
}
?>