$17 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main//metaboxpro.php
<?php

/*
* SPEEDYCACHE
* https://speedycache.com/
* (c) SpeedyCache Team
*/

namespace SpeedyCache;

if(!defined('ABSPATH')){
	die('Hacking Attempt');
}

class MetaboxPro{

	static function html($content, $post_id){
		global $speedycache;
		
		if(empty($speedycache->options['critical_css'])){
			return '';
		}

		$post_meta = get_post_meta($post_id, 'speedycache_post_meta', true);

		$html = '<div class="speedycache-option-wrap">
	<div class="speedycache-option-info">
		<span class="speedycache-option-name">'.esc_html__('Disable CriticalCSS', 'speedycache').'</span>
	</div>
	<label for="speedycache-disable-critical-css" class="speedycache-custom-checkbox">
		<input type="checkbox" id="speedycache-disable-critical-css" name="speedycache_disable_critical_css" '. (!empty($post_meta['disable_critical_css']) ? ' checked' : ''). '/>
		<div class="speedycache-input-slider"></div>
	</label>
</div>

<h3>Critical CSS</h3>
<p>Create Crtical CSS for this page</p>
<button class="button" id="speedycache-generate-specific-cache">Generate CriticalCSS</button>
';

		return $html;

	}

	static function enqueue_scripts(){
		global $speedycache, $post;

		if(empty($speedycache->options['critical_css'])){
			return;
		}

		wp_enqueue_script('speedycache_metabox', SPEEDYCACHE_PRO_URL . '/assets/js/metabox.js', array('jquery'), SPEEDYCACHE_PRO_VERSION, true);
		
		wp_localize_script('speedycache_metabox', 'speedycache_metabox', array(
			'nonce' => wp_create_nonce('speedycache_nonce'),
			'post_id' => !empty($post->ID) ? $post->ID : '',
			'url' => admin_url('admin-ajax.php')
		));
	}
	
	// Filter to sets options to be saved for post meta
	static function options($options){
		global $speedycache;
		
		if(empty($options)){
			$options = [];
		}
		
		if(!is_array($options)){
			$options = [$options]; 
		}
		
		if(!empty($speedycache->options['critical_css'])){
			$options[] = 'disable_critical_css';
		}
		
		return $options;
	}
}


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
admin.php
24.343 KB
18 Feb 2026 11.32 PM
root / root
0644
bloat.php
10.18 KB
18 Feb 2026 11.32 PM
root / root
0644
cli.php
1.627 KB
18 Feb 2026 11.32 PM
root / root
0644
commoncss.php
3.654 KB
18 Feb 2026 11.32 PM
root / root
0644
criticalcss.php
9.979 KB
18 Feb 2026 11.32 PM
root / root
0644
db.php
2.6 KB
18 Feb 2026 11.32 PM
root / root
0644
enhanced.php
47.305 KB
18 Feb 2026 11.32 PM
root / root
0644
googlefonts.php
5.604 KB
18 Feb 2026 11.32 PM
root / root
0644
image.php
71.204 KB
18 Feb 2026 11.32 PM
root / root
0644
index.html
0.089 KB
18 Feb 2026 11.32 PM
root / root
0644
lazyload.php
14.829 KB
18 Feb 2026 11.32 PM
root / root
0644
license.php
4.116 KB
18 Feb 2026 11.32 PM
root / root
0644
logs.php
7.611 KB
18 Feb 2026 11.32 PM
root / root
0644
metaboxpro.php
1.972 KB
18 Feb 2026 11.32 PM
root / root
0644
mobile.php
1.568 KB
18 Feb 2026 11.32 PM
root / root
0644
object-cache-lib.php
10.857 KB
18 Feb 2026 11.32 PM
root / root
0644
objectcache.php
8.471 KB
18 Feb 2026 11.32 PM
root / root
0644
plugin-update-checker.php
52.862 KB
18 Feb 2026 11.32 PM
root / root
0644
premium.php
0.413 KB
18 Feb 2026 11.32 PM
root / root
0644
prooptimizations.php
2.123 KB
18 Feb 2026 11.32 PM
root / root
0644
renderblocking.php
36.803 KB
18 Feb 2026 11.32 PM
root / root
0644
settingspage.php
36.782 KB
18 Feb 2026 11.32 PM
root / root
0644
statistics.php
4.251 KB
18 Feb 2026 11.32 PM
root / root
0644
unusedcss.php
7.452 KB
18 Feb 2026 11.32 PM
root / root
0644
youtube.html
2.29 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF