Uname: Linux premium72.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
Software: LiteSpeed
PHP version: 8.2.29 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.125.95
Your Ip: 216.73.216.112
User: matican (532) | Group: matican (531)
Safe Mode: OFF
Disable Function:
NONE

name : settings-display.php
<?php // Display Settings

if (!defined('ABSPATH')) exit;

function disable_gutenberg_menu_pages() {
	
	// add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function )
	add_options_page('Disable Gutenberg', 'Disable Gutenberg', 'manage_options', 'disable-gutenberg', 'disable_gutenberg_display_settings');
	
}

function disable_gutenberg_display_settings() { ?>
	
	<div class="wrap">
		<h1>
			<span class="fa fa-pad fa-gear"></span> <?php echo DISABLE_GUTENBERG_NAME; ?> 
			<span class="disable-gutenberg-version"><?php echo DISABLE_GUTENBERG_VERSION; ?></span>
		</h1>
		<form method="post" action="options.php">
			
			<?php 
				settings_fields('disable_gutenberg_options');
				do_settings_sections('disable_gutenberg_options');
				submit_button(); 
			?>
			
		</form>
	</div>
	
<?php }
© 2025 XylotrechusZ