mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- changed "e-mail" to "email";
- changed texts for admin notices; - added a few links to docs;
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
<?php if ( ! defined( 'ABSPATH' ) ) {
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$role = $object['data']; ?>
|
||||
$role = $object['data'];
|
||||
?>
|
||||
|
||||
<div class="um-admin-metabox">
|
||||
<?php
|
||||
UM()->admin_forms(
|
||||
$form = UM()->admin_forms(
|
||||
array(
|
||||
'class' => 'um-role-publish um-top-label',
|
||||
'prefix_id' => 'role',
|
||||
@@ -20,7 +22,8 @@ $role = $object['data']; ?>
|
||||
),
|
||||
),
|
||||
)
|
||||
)->render_form();
|
||||
);
|
||||
$form->render_form();
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -31,3 +34,10 @@ $role = $object['data']; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
echo $form->render_external_link(
|
||||
array(
|
||||
'html' => __( 'Learn more about role priorities', 'ultimate-member' ),
|
||||
'url' => 'https://docs.ultimatemember.com/article/1494-how-to-set-role-priority-for-user-roles',
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user