$76 GRAYBYTE WORDPRESS FILE MANAGER $48

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.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravrvjk/kigalix.com/wp-content/plugins/leadin/public/wp/

HOME
Current File : /home/bravrvjk/kigalix.com/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;
	}
}


Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 12.00 AM
root / root
0
class-page.php
0.755 KB
28 Apr 2025 7.44 AM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF