SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-content > plugins > leadin > public > wp >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-content/plugins/leadin/public/wp/

NameTypeSizeLast ModifiedActions
class-page.php File 773 bytes July 17 2025 21:06:25.

Reading File: /home/transcarter/public_html/wp-content/plugins/leadin/public/wp//class-page.php

<?php

namespace Leadin\wp;

/**
 * Static function that wraps WordPress utility functions for WordPress pages.
 */
class Page {
	/**
	 * Return true if the current page has Gutenberg active.
	 */
	public static function is_gutenberg_page() {
		if ( function_exists( 'is_gutenberg_page' ) && is_gutenberg_page() ) {
			// The Gutenberg plugin is on.
			return true;
		}

		$current_screen = get_current_screen();
		if ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() ) {
			// Gutenberg page on 5+.
			return true;
		}
		return false;
	}

	/**
	 * Return true if the current page is the WP Admin dashboard.
	 */
	public static function is_dashboard() {
		$screen = get_current_screen();
		return 'dashboard' === $screen->id;
	}
}

SILENT KILLER Tool