This repository has been archived on 2025-01-22. You can view files and clone it, but cannot push or open issues or pull requests.
wordpress-event-bridge-for-.../templates/settings-extractor.php

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
);
?>