# wp-coder/trunk/includes/pages/global-php.php

WP Coder – Insert &amp; Manage Code Snippets, version trunk. 24 lines.

- Page: https://pluginprobe.com/plugins/wp-coder/trunk/code/includes/pages/global-php.php
- Raw: https://pluginprobe.com/plugins/wp-coder/trunk/raw/includes/pages/global-php.php
- Modified: 2024-10-28T11:32:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-coder/trunk/code/includes/pages/global-php.php#L10-L20`.

```php
<?php

use WPCoder\Dashboard\DashboardInitializer;
use WPCoder\Dashboard\SaveGlobal;

defined( 'ABSPATH' ) || exit;

if ( ! current_user_can( 'manage_options' ) ) {
	wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-coder' ) );
}


?>

    <div class="wowp-header-wrapper">
		<?php DashboardInitializer::header(); ?>

        <div class="wowp-header-title">
            <h2><?php esc_html_e( 'Global PHP', 'wp-coder' ); ?></h2>
        </div>

    </div>

<?php SaveGlobal::init();
```
