| 1 |
<?php |
| 2 |
|
| 3 |
use WPCoder\Dashboard\DashboardInitializer; |
| 4 |
use WPCoder\Dashboard\SaveGlobal; |
| 5 |
|
| 6 |
defined( 'ABSPATH' ) || exit; |
| 7 |
|
| 8 |
if ( ! current_user_can( 'unfiltered_html' ) ) { |
| 9 |
wp_die( esc_attr__( 'You do not have sufficient permissions to access this page.', 'wp-coder' ) ); |
| 10 |
} |
| 11 |
|
| 12 |
|
| 13 |
?> |
| 14 |
|
| 15 |
<div class="wowp"> |
| 16 |
<?php DashboardInitializer::header(); ?> |
| 17 |
|
| 18 |
<div class="wowp-page-header"> |
| 19 |
<h2 class="wowp-page-header__title"> |
| 20 |
<?php esc_html_e( 'Global PHP', 'wp-coder' ); ?> |
| 21 |
</h2> |
| 22 |
</div> |
| 23 |
|
| 24 |
<?php SaveGlobal::init(); ?> |
| 25 |
|
| 26 |
</div> |
| 27 |
|
| 28 |
<?php |
| 29 |
|