HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/lcc.kaunokolegija.lt/wp-content/plugins/print-page/plugin.php
<?php
/**
 * Plugin Name: Print Page - Block
 * Description: Print the entire page with single click
 * Version: 1.1.2
 * Author: bPlugins
 * Author URI: https://bplugins.com
 * License: GPLv3
 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
 * Text Domain: print-page
 */

// ABS PATH
if ( !defined( 'ABSPATH' ) ) { exit; }

// Constant
define( 'PPB_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.1.2' );

if( !class_exists( 'PPBPlugin' ) ){
	class PPBPlugin{
		function __construct(){
			add_action( 'init', [$this, 'onInit'] );
		}
	
		function onInit() {
			register_block_type( __DIR__ . '/build' );
		}
	}
	new PPBPlugin();
}