GRAYBYTE WORDPRESS FILE MANAGER4967

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/wp-smushit/app/pages/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/wp-smushit/app/pages//class-lazy.php
<?php
/**
 * Lazy load page.
 *
 * @package Smush\App\Pages
 */

namespace Smush\App\Pages;

use Smush\App\Abstract_Summary_Page;
use Smush\App\Interface_Page;

if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Class Lazy
 */
class Lazy extends Abstract_Summary_Page implements Interface_Page {
	/**
	 * Register meta boxes.
	 */
	public function register_meta_boxes() {
		parent::register_meta_boxes();

		if ( ! $this->settings->get( 'lazy_load' ) ) {
			$this->add_meta_box(
				'lazyload/disabled',
				__( 'Lazy Load', 'wp-smushit' ),
				null,
				null,
				null,
				'main',
				array(
					'box_class' => 'sui-box sui-message sui-no-padding',
				)
			);

			return;
		}

		$this->add_meta_box(
			'lazyload',
			__( 'Lazy Load', 'wp-smushit' ),
			array( $this, 'lazy_load_meta_box' ),
			null,
			array( $this, 'common_meta_box_footer' )
		);
	}

	/**
	 * Common footer meta box.
	 *
	 * @since 3.2.0
	 */
	public function common_meta_box_footer() {
		$this->view( 'meta-box-footer', array(), 'common' );
	}

	/**
	 * Lazy loading meta box.
	 *
	 * @since 3.2.0
	 */
	public function lazy_load_meta_box() {
		$this->view(
			'lazyload/meta-box',
			array(
				'conflicts' => get_transient( 'wp-smush-conflict_check' ),
				'settings'  => $this->settings->get_setting( 'wp-smush-lazy_load' ),
				'cpts'      => get_post_types( // custom post types.
					array(
						'public'   => true,
						'_builtin' => false,
					),
					'objects'
				),
			)
		);
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:34
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:34
giriqfky / giriqfky
0644
class-bulk.php
24.237 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-cdn.php
4.004 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-dashboard.php
10.061 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-directory.php
5.106 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-integrations.php
2.195 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-lazy.php
1.431 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-next-gen.php
7.291 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-nextgen.php
3.659 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-settings.php
6.97 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-tutorials.php
1.345 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644
class-upgrade.php
2.165 KB
June 23 2025 07:12:38
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF