Add notice for when user has no access
This commit is contained in:
6
includes/admin/views/html-notice-no-access.php
Normal file
6
includes/admin/views/html-notice-no-access.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
?>
|
||||
<div id="message" class="error">
|
||||
<p><?php _e( 'You are not allowed to edit this item.', 'sportspress' ); ?></p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user