Submit
Path:
~
/
home
/
getwphos
/
public_html
/
bubrupamjcb.com
/
wp-content
/
plugins
/
powerkit
/
modules
/
retina-images
/
File Content:
class-powerkit-retina-images.php
<?php /** * Retina Images * * @package Powerkit * @subpackage Modules */ if ( class_exists( 'Powerkit_Module' ) ) { /** * Init module */ class Powerkit_Retina_Images extends Powerkit_Module { /** * Register module */ public function register() { $this->name = powerkit_esc_html__( 'Retina Images', 'powerkit' ); $this->desc = powerkit_esc_html__( 'Make your images ultra-crisp on Retina screens with the Retina Images module integrated in Powerkit.', 'powerkit' ); $this->slug = 'retina'; $this->type = 'default'; $this->category = 'basic'; $this->priority = 1010; $this->public = true; $this->enabled = false; $this->badge = powerkit_esc_html__( 'Advanced', 'powerkit' ); $this->links = array( array( 'name' => powerkit_esc_html__( 'Go to settings', 'powerkit' ), 'url' => admin_url( sprintf( 'options-media.php#%s', powerkit_get_page_slug( $this->slug ) ) ), ), array( 'name' => powerkit_esc_html__( 'View documentation', 'powerkit' ), 'url' => powerkit_get_setting( 'documentation' ) . '/image-optimization/retina-images/', 'target' => '_blank', ), ); } /** * Initialize module */ public function initialize() { /* Load the required dependencies for this module */ // Helpers Functions for the module. require_once dirname( __FILE__ ) . '/helpers/helper-powerkit-retina-images.php'; // Admin and public area. require_once dirname( __FILE__ ) . '/admin/class-powerkit-retina-images-admin.php'; require_once dirname( __FILE__ ) . '/public/class-powerkit-retina-images-public.php'; new Powerkit_Retina_Images_Admin( $this->slug ); new Powerkit_Retina_Images_Public( $this->slug ); } } new Powerkit_Retina_Images(); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
admin
---
0755
helpers
---
0755
public
---
0755
class-powerkit-retina-images.php
1794 bytes
0644
N4ST4R_ID | Naxtarrr