wordpress-activitypub-event.../templates/settings-extractor.php

13 lines
296 B
PHP
Raw Permalink Normal View History

2024-07-17 16:17:54 +02:00
<?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
);
?>