wordpress-event-bridge-for-.../templates/settings-general.php
Benjamin Linus Witzerstorfer 368e89a2aa added settings page sceleton
2024-07-17 16:17:54 +02:00

13 lines
No EOL
296 B
PHP

<?php
// Is this check necessary? it's already enforced by admin_menu()
// it's "recommended" by https://developer.wordpress.org/plugins/administration-menus/sub-menus/
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
\load_template(
__DIR__ . '/admin-header.php',
true,
$args
);
?>